4 ms·
Speaking from experience, it isn't too hard. The MDN WebExtension documentation is a great place to start, and with very little effort you can write an extensio
by AlphaWeaver 8y ago
Speaking from experience, it isn't too hard. The MDN WebExtension documentation is a great place to start, and with very little effort you can write an extension that works in chrome off the same codebase.
- jwilk 8y agoFor something as simple as this, writing a separate webext is probably overkill. There are already extensions that let you automatically make custom redirects. (Or you could abuse HTTPS Everywhere for this purpose.) Or you could make a bookmarklet. Or make a user script for Greasemonkey (or a similar extension). For example, I'm using this to fix the "Decline" button: // ==UserScript== // @name npr.org // @namespace jwilk@jwilk.net // @include https://choice.npr.org/* // @grant none // ==/UserScript== document.querySelector('#textLink').href = 'https://text.npr.org/s.php?sId=' + window.location.search.match('[0-9]{9,}');