GithubHelp home page GithubHelp logo

sushrut111 / requests-modifier Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 177 KB

AutoResponder - Chrome extension to redirect requests to another url, inject request headers

Home Page: https://chrome.google.com/webstore/detail/autoresponder-chrome/gdeemmakbfhjckeonddaabfpnllgahng?hl=en

HTML 2.90% TypeScript 90.85% JavaScript 5.90% CSS 0.35%
fiddler extension redirect hacktoberfest headers request-header chrome chrome-extension

requests-modifier's Introduction

requests-modifier

Chrome extension to redirect requests to another url

Why do I use it?

This extension is a good learning material - you will learn

  • How to create chrome extensions
  • Basics of typescript
  • How ad blockers work

Want to try out ad block without risking private info?

  • Install this extension from google chrome or download from releases
  • Download the file adBlockrules.arjson from export directory of this repository
  • Open the extension page and click Import
  • Import the file you downloaded
  • You can enjoy ad free stuff on the internet!

Init

npm install

Development

npm run watch
  • Add the ./dist directory to chrome
    • Head to chrome://extensions
    • Load unpacked
    • Open options by clicking Extension's icon in toolbar

Production Build

npm run build
  • ./dist directory has the production version of extension

requests-modifier's People

Contributors

sushrut111 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

wenleifang

requests-modifier's Issues

Add a warning at the top of all pages when auto redirect is on

Use of this extension could be a danger if one is using a browser on someone else's computer with this extension enabled.
For example, if you are replacing facebook's login api address with a custom api, all the requests to login along with payload with credential will go to your custom API risking users' credentials.

Add capability to return custom response codes

The extension currently returns the pre-defined responses with 200 response code.
A capability to return custom response codes like 2xx, 3xx, 4xx, 5xx would be helpful to make this a full package to help development.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.