4 ms·
Thanks. I wish I had an extension that redirects to text-only npr automatically (their button doesn't redirect to the actual article and I'm assuming they broke
by apk-d 8y ago
Thanks. I wish I had an extension that redirects to text-only npr automatically (their button doesn't redirect to the actual article and I'm assuming they broke their own site on purpose). One of those days I might actually sit down and start making Firefox extensions - especially if I can put together a basic template for quick one-off single-purpose GPDR fixers and such.
- AlphaWeaver 8y agoSpeaking 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,}');