2 min read
If you want to write a browser plugin that replaces strings on webpages the easiest method is by doing it using Javascript. So, to replace a in a webpage a string for another we can use the following Javascript code:
document.body.innerHTML = document.body.innerHTML.replace(/\bA\b/g, "B");
12/10/2021
Read more...