3 ms·
For something as simple as this, writing a separate webext is probably overkill. There are already extensions that let you automatically make custom redirects.
by jwilk 8y ago
For 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,}');