Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native wikipedia preview #7

Open
BrontoRed opened this issue Apr 12, 2017 · 3 comments
Open

Native wikipedia preview #7

BrontoRed opened this issue Apr 12, 2017 · 3 comments

Comments

@BrontoRed
Copy link

Is it possible to add option that disable native wikipedia preview?
For Russian language I always get something like this
default
and have to turn it off manually.

@NiklasGollenstede
Copy link
Owner

The lastest beta versions already have (among a lot of other stuff) the option to disable the extension on individual domains/pages.

I will also try to find a sane way to disable the "native preview".
Running localStorage.setItem('mwe-popups-enabled', '0') seems to do the trick.

@NiklasGollenstede
Copy link
Owner

The aforementioned code is now executed every tome you load a https://ru.wikipedia.org/* page. That should reliably suppress the native preview (as long as they don't change their code).

@NiklasGollenstede
Copy link
Owner

From #12:

P.s. Suppressing "native preview" on https://ru.wikipedia.org/* pages don't work any more on russian locale of Firefox, but works on english locale.

That's strange and seems arbitrary. I may have a look at it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants