Script Summary: Takes you to a more appropriate, predetermined page at the click of a button or tap of a keyboard. Ideal for getting out of sticky situations at work, school or college. Personalise with various settings.
Features
- Click the Panic Button or press Ctrl+Shift+Q to go to your Panic Location.
- Toggle the visibility of the Panic Button by pressing Ctrl+Q.
- Personalise by changing the Panic Button's size and position and the Panic Location.
Default settings
var buttonSize = 'medium'
var buttonPosition = 'bottomRight'
var panicLocation = 'http://www.google.co.uk/'
Instructions
- Install my Panic Button User Script.
If you want to deviate from the default settings, follow these next four steps:
- Assuming you are using Firefox, for example, open up the Greasemonkey User Scripts Manager in Firefox by selecting; Tools > Greasemonkey > Manage User Scripts...
- Click the edit button in the bottom left-hand corner of the window. If not done automatically, choose your favourite text editor (such as Notepad) to open up the User Script for editing.
- Edit the variables in the EDIT BELOW section of the script:
- Set the buttonSize variable to your preferred Panic Button size - 'small' or 'medium' or 'large'.
- Set the buttonPosition variable to your preferred Panic Button position - 'topLeft' or 'topRight' or 'bottomLeft' or 'bottomRight'.
- Set the panicLocation variable to your preferred Panic Location, e.g. 'http://www.google.co.uk/'.
- Save the document and reload a web page to view your changes.
Changelog
version 0.2
- Changed the hotkeys for showing/hiding the Panic Button from Ctrl+S and Ctrl+H respectively to just Ctrl+Q (toggles) for greater ease of use and to stop interference with various shortcuts in some web browsers.
- Changed the hotkey for the Panic Location from Ctrl+G to Ctrl+Shift+Q to stop interference with various shortcuts in some web browsers.
version 0.1
- Initial release.
- Clicking the Panic Button takes you to your Panic Location.
- Pressing Ctrl+G takes you to your Panic Location.
- Pressing Ctrl+S and Ctrl+H shows and hides the Panic Button respectively.
- Allows the Panic Button's size and position and the Panic Location to be personalised.
Ambitions
- Allow the creation of an array of 'Safe Sites' in which the Panic Button is automatically hidden.
- Allow the hotkeys (such as Ctrl+Shift+Q to take you to your Panic Location) to be personalised.
If you think of any additional improvements that can be made to my Panic Button User Script, or know how to achieve the current ones, please let me know by starting a discussion.
Known bugs
- The Panic Button appears in frames and iframes.
If you find any more bugs in my Remove YouTube Adverts User Script, or know how to fix the current ones, please let me know by starting a discussion.
Learn more
Please visit the Panic Button's homepage at http://www.matthewhill.name/#user-scripts.
Other scripts
Please check out my other scripts, such as Remove YouTube Adverts which has over 2,800 installs!
Final words
If you like my Panic Button User Script, please become a fan and/or write a short review. You wouldn't think it, but it really does mean a lot to get feedback of any nature. Thanks!



