User:Guywan/Scripts/ConfirmLogout

Confirm Logout
If you click on a logout link, Confirm Logout provides an HTML prompt that asks for confirmation. The prompt may be customised to a certain extent. If you would like further customisation, you may make a copy of this script (and please add a backlink). With default settings, here is what it looks like:

 You clicked on a log-out link. Do you want to continue? No Log out

Customisation
The following attributes allow you to customise the logout prompt. Note: both the prompt and the buttons are affected by these.

Set these attributes wherever you're importing the script, e.g:

Installation
Hint: It's much easier if you get ScriptInstaller, then navigate to .js and click "Install" at the top.

To use this script, add the following to your  (or other):

Credits

 * Remixed from m:User:Bluedeck/source/confirm-logout.js.