Giter VIP home page Giter VIP logo

Comments (8)

jeffrz avatar jeffrz commented on August 15, 2024 2

It looks like when openButton is cloned in the extension, it no longer contains the class "._WKw". This makes the querySelector call return a null result which kills the innerText property access. Adjusting the querySelector ought to fix it.

When I recompiled the extension with the line changed to "button.querySelector('a').innerText = localizedViewImage;" it worked just fine.

from make-gis-great-again.

devunt avatar devunt commented on August 15, 2024 1

Fixed by #66.

from make-gis-great-again.

the3ye avatar the3ye commented on August 15, 2024

same here, stopped working recently

from make-gis-great-again.

Almo7aya avatar Almo7aya commented on August 15, 2024

It's working fine with me!!

from make-gis-great-again.

Brottweiler avatar Brottweiler commented on August 15, 2024

Same here, stopped working. Using Tampermonkey Beta 4.6.5709.

from make-gis-great-again.

Rohaq avatar Rohaq commented on August 15, 2024

Messes up the text alignment in the button a little, but the button is back with the above. Thanks!

from make-gis-great-again.

jeffrz avatar jeffrz commented on August 15, 2024

Assuming they randomize the class of the span element within the <a>, it's probably not worth hardcoding. I guess you could instead delete the span:first-child and then change the innerText in span:last-child, but I'm not sure it's worth all of the trouble.

from make-gis-great-again.

Brottweiler avatar Brottweiler commented on August 15, 2024

This seems to be a problem again, at least for me, using Tampermonkey Beta 4.6.5757, which updated today for me.

Edit: Switched to Violentmonkey and it works now.

from make-gis-great-again.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.