ResourceOverride
ResourceOverride copied to clipboard
How to replace original HTML tags onload?
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>
?
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.