Giter VIP home page Giter VIP logo

Comments (10)

 avatar commented on April 27, 2024 1

I second this request, AlwaysAsk is currently my last extension which hasn't been updated to support 57+. I just hope the functionality can be preserved with the new extension limitations.

from alwaysask.

coderanger avatar coderanger commented on April 27, 2024 1

@zpao Indeed :( The closest you can get with WebExt is to override the ctrl+q and cmd+q key sequences. You can either leave them permanently disabled (a la https://addons.mozilla.org/en-US/firefox/addon/disable-ctrl-q-and-cmd-q/) or I've seen some people trying to work out ways to copy the Chrome style "press twice within 5 seconds to really quit" (though the prototype was very broken, but could be fixed) by using timers to attach and detach the keyboard shortcut.

from alwaysask.

kquinsland avatar kquinsland commented on April 27, 2024

+1 from me as well. Paging @zpao for clarification; is this abandon ware?

from alwaysask.

zpao avatar zpao commented on April 27, 2024

It's not abandonware but it is open source.

I haven't had any time to see how possible this is with the extensions API. Hopefully soon but can't make any promises.

from alwaysask.

zpao avatar zpao commented on April 27, 2024

nsIObserverService, which was the main way this worked, is no longer accessible. Nor can I read prefs (or prompt?). Maybe it's still possible to get something with some of the functionality but I'm not hopeful.

from alwaysask.

kquinsland avatar kquinsland commented on April 27, 2024

@zpao No worries! The last time i did any major JS development, jQuery was just beginning to take root... so i dont think you want me opening any PR's :).

also, from what @coderanger was saying, it sounds like there's work that needs to be done on the mozilla API side before a good solution can be implemented...

from alwaysask.

vincekd avatar vincekd commented on April 27, 2024

from alwaysask.

coderanger avatar coderanger commented on April 27, 2024

There is actually an about:config item for this, it just hasn’t worked in a long time.

from alwaysask.

vincekd avatar vincekd commented on April 27, 2024

from alwaysask.

zpao avatar zpao commented on April 27, 2024

@vincekd Yea, I tried to write this inside Firefox once, am CCed on that bug (though not reading bugmail). https://bugzilla.mozilla.org/show_bug.cgi?id=565567 for those interested. I think it might get some renewed interest now that it's not possible for extensions to handle this.

@coderanger Yea, I used to work on all of this code inside Firefox. The complicated mess of settings and exact conditions to trigger a prompt is part of why I made this in the first place.

from alwaysask.

Related Issues (9)

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.