devunt / devunt/make-gis-great-again

Here is a working version of the script

Open
#86 42 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
761
Forks
53
PR merge metrics
No merged PRs in 30d

Description

**[edit added 2020/01/22]**
To install the lastest version of the script, check the current version number in this [repository](/devunt/make-gis-great-again/blob/master/gis-vib.user.js), below in this thread, and in my [fork](/Procyon-b/make-gis-great-again/blob/master/gis-vib.user.js).
Use the method in [this comment](#issuecomment-575347993) to install/update the userscript. When installed that way, it will be updated automatically every time the source is updated.

**[Original message]**
For some time now I have been using your script as a userscript in tampermonkey.
I had it modified in two places:

- It gets the language info from the page itself, not anymore from the browser (only as a last resort). It prevents a mixture of languages (my chrome is in english, but the page is in FR or EN).
- I add a link "Search by image" at the top of the text block (like in another extension IIRC)
- I have also added other languages. But not always for both the button and the link. I don't recall the exact source of this. Maybe requests here or on the webstore page.

At the time, I was planning to PR the new code here, but I got focused on other projects.

I did not notice immediately the effect of the new CSS ; in incognito mode the old style is still in use, and the script still works.
The code below can handle the old and the new style.

I can PR it if you want. And post explanation on the modications.

```
// @version 1.5.0.2

use latest version below

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.