ronhasson / wikiwand-webextension Goto Github PK
View Code? Open in Web Editor NEWweb extension port of wikiwand
Home Page: https://addons.mozilla.org/en-US/firefox/addon/wikiwand-webextension/
License: MIT License
web extension port of wikiwand
Home Page: https://addons.mozilla.org/en-US/firefox/addon/wikiwand-webextension/
License: MIT License
Thanks for the port, greatly appreciated :)
Clicking on "Read on Wikipedia" opens a new tab to wikipedia but is soon redirected to wikiwand.U
I tested on Firefox Developer Edition 58.0b12 (64-bit).
Apparently ?oldformat=true
in the URL is not honored.
Hi. Thanks for this extension — I'd been missing this functionality since upgrading Firefox a few weeks ago.
Unfortunately it's a little over-eager to redirect Wikipedia URLs to Wikiwand: it catches some links from Wikiwand that are supposed to go to Wikipedia pages.
To reproduce:
There's an equivalent problem with the ‘History’ link just below ‘Edit’.
Please can you narrow down the intercepting to ignore URLs like these. Perhaps just ignore everything with a URL parameter of action=
? (You could make an exception for action=view
, but with normal browsing you shouldn't end up with a URL with that in it anyway (since viewing is the default action), so ignoring all action=
params may be simpler.) Thanks.
Hi. Thanks for fixing #2 so speedily — really appreciated.
I've encountered another case that's incorrectly redirecting: older versions. On a history page, click on the timestamp of an older version and you get a URL like https://en.wikipedia.org/w/index.php?title=Timsort&oldid=574510695 — which doesn't have action=view
in it (presumably because that's the default).
I'm now thinking that instead of filtering on action=view
, it would make more sense to detect the /w/
at the start — anything under that path clearly isn't a plain article title; or conversely, only attempt to redirect paths starting /wiki/
, which is at the start of all the ‘friendly’ URLs used for all normal, latest-version-of articles.
Cheers.
If this extension is disabled in about:addons
, enabling it again doesn't have any effect until Firefox is restarted.
To reproduce:
about:addons
, find ‘WikiWand webextension’ and press ‘Disable’.This is unfortunate because the workaround for Issue #2 is to temporarily disable the extension in order to edit a Wikipedia page ... but ’temporarily’ ends up meaning I'm without this extension until I'm next restarting Firefox.
Thank your Ron for creating this add-on even before official WikiWand add-on was ported to web extensions API. I appreciate how your proactively created this replacement instead of waiting for update from WikiWand guys.
Now that an official WikiWand add-on that supports web extensions API has been released on Nov 19, 2017, what are your plans? Will you keep supporting this add-on?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.