kylepaulsen / ResourceOverride

An extension to help you gain full control of any website by redirecting traffic, replacing, editing, or inserting new content.
MIT License
467 stars 117 forks source link

How to replace original HTML tags onload? #27

Open rogeriodec opened 6 years ago

rogeriodec commented 6 years ago

Thanks for this great plugin. I could not understand how do I exchange certain original tags to another tags? For example, how to change all tags from <meta> to <p>?

bernhardriegler commented 4 years ago

This is not in the scope of ResourceOverride from what I understand.

You might want to look into Goolge Chrome DevTools Local Overrides to get what you need: https://developers.google.com/web/updates/2018/01/devtools#overrides

ResourceOverride lets you redirect the whole request - say for a js, css or image file - and send it elsewhere. A common usecase might be to redirect the request for a stylesheet (https://www.yoursite.com/styles.css) to a locally running webserver hosting this file (https://localhost/styles.css). Now you can edit the file locally and see the changes on your production site on page reload.