• How to write a string replacement browser plugin

    2 min read

    browser plugin javascript Firefox Chrome

    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");



From pet to cattle
Treat your kubernetes clusters like cattle, not pets
tags related to this category