today i losed lots typing here in the forum, becouse of
Chrome's obnoxious Ctrl-Shift-Q shortcut
i read a solution here
is_there_a_good_way_to_disable_ctrl_q_on_chrome
do you may please add this mechaniscm?
preventclosenodonations into the forum?
thanks
prevent close forum and los changes
prevent close forum and los changes
github>g_IntelliSense + next improvements + forum
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Re: prevent close forum and los changes
Since I don't use Chrome, I had to look it up, that Ctrl-Shift-Q closes all tabs and windows. I hardly think the solution is to implement an annoying popup on every page. It doesn't take much more that a few lines of AHK code to implement an "Are you sure..." dialog, that works on every page without hindering other users.
Re: prevent close forum and los changes
sure thats i already did. thats was not the question.Nextron wrote:Since I don't use Chrome, I had to look it up, that Ctrl-Shift-Q closes all tabs and windows. I hardly think the solution is to implement an annoying popup on every page. It doesn't take much more that a few lines of AHK code to implement an "Are you sure..." dialog, that works on every page without hindering other users.
sometimes ahk is off, becouse of some reasons (debugging or so)
i dont mean a popup.
i maan such a messag. "do you really wanna close this page."
github>g_IntelliSense + next improvements + forum
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Re: prevent close forum and los changes
I dislike pages applying such measures; it's not the website's role to second guess/interfere with my actions outside of the page.
At any given time I have open various browser windows with maaany tabs. If I accidentally close a tab, I undo it. If I want to prevent that, I protect the tab. There is one website I have open sometimes in multiple tabs, and once I try to close the window, I get prevented to do so until on each of those tabs I confirm I'm certain I want to leave the page, which is non of the website's business.
At any given time I have open various browser windows with maaany tabs. If I accidentally close a tab, I undo it. If I want to prevent that, I protect the tab. There is one website I have open sometimes in multiple tabs, and once I try to close the window, I get prevented to do so until on each of those tabs I confirm I'm certain I want to leave the page, which is non of the website's business.
Re: prevent close forum and los changes
sure, but it helpsI dislike pages applying such measures; it's not the website's role to second guess/interfere with my actions outside of the page.
i am havy debugging some big ahk and have often close all ahks for some reason.At any given time I have open various browser windows with maaany tabs. If I accidentally close a tab, I undo it. If I want to prevent that, I protect the tab.
how you do it?
or may save the text into
https://stackoverflow.com/questions/201 ... calstorage
var testObject = { 'one': 1, 'two': 2, 'three': 3 };
// Put the object into storage
localStorage.setItem('testObject', JSON.stringify(testObject));
// Retrieve the object from storage
var retrievedObject = localStorage.getItem('testObject');
console.log('retrievedObject: ', JSON.parse(retrievedObject));
github>g_IntelliSense + next improvements + forum
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Re: prevent close forum and los changes
You could easily add a greasemonkey script, with something like...
I dont think we want this as default behaviour as webbrowsers should refrain from affecting the user's control...
Code: Select all
window.addEventListener("beforeunload", function (event) {
if (true) //check for text len in reply box...
{
event.returnValue = true;
return true;
}
});
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
Who is online
Users browsing this forum: No registered users and 16 guests