Ruud14 / Page-Manipulator

Browser Extension that can automatically inject custom HTML, CSS or JavaScript into any web-page. This way you can customize any web-page to fit your needs. Currently available on Google Chrome and Microsoft Edge.
https://chrome.google.com/webstore/detail/page-manipulator/mdhellggnoabbnnchkeniomkpghbekko?hl=nl
90 stars 31 forks source link

cross origin http request #16

Closed dgtvan closed 2 years ago

dgtvan commented 2 years ago

Sometimes, I need to make HTTP requests from my injected scripts. However, it's restricted by browsers due to the same-origin policy.

I found a technique that can help to overcome this, it is Cross-Origin-AJAX-Bridge

I forked your project and added that technique to the project for my personal use. If you find it useful, you can help to review and merge it.

Example image

dgtvan commented 2 years ago

There's an issue. Need to fix it.

dgtvan commented 2 years ago

Issue fixed.

Ruud14 commented 2 years ago

Thanks for your pull request,

I will however leave it open until I've sorted out Manifest V3. I cannot roll out any updates before I've moved to V3 so I will review your code and merge when the transfer to V3 is done.

Until then I'll reference to your fork in the readme.