A super simple Browser Extension for redirecting Discourse community websites to their HTML versions, rather than their js;dr defaults.
-
Automatically append
?_escaped_fragment_
to any known Discourse URL. -
Offer an options page for the user to configure Discourse URLs.
The extension was created with the Browser Extensions specification in mind. It turns out this is very hard to do while also supporting real life browsers.
- This extension uses the
options_ui
manifest key instead of theoptions_page
manifest key from the spec. - This extension asks for the non-standard
storage
permission to use the Web Storage API.
Any other differences should be reported and either documented here or fixed as bugs.
This extension follows the JavaScript Standard Style. I apologise if you love semicolons. Make sure to run it under the WebExtensions environment:
standard --env webextensions
-
The official logo
discourse.png
is “®, Civilized Discourse Construction Kit, Inc.” and was used as a base for this extension’s logo. -
Everything else is released under the BSD Zero Clause License (0BSD). Please see the
LICENSE
file for more information.