Comments (10)
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.
@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.
+1 from me as well. Paging @zpao for clarification; is this abandon ware?
from alwaysask.
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.
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.
@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.
from alwaysask.
There is actually an about:config item for this, it just hasn’t worked in a long time.
from alwaysask.
from alwaysask.
@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)
- It's possible to stack the alert messages up, which can cause Fx to crash
- Support for private browsing
- Mark as E10S-compatible HOT 3
- Change default behaviour on exit
- Stopped working in Firefox 22 HOT 3
- confirmation dialog only accepts mouse no keyboard HOT 2
- Don't ask on shutdown?
- does not ask in some cases in 64 bit Windows 8 Firefox 31.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alwaysask.