When that happens switch off JavaScript.
Depending on you skin and toolbars organization, you should have it at hand.
Also, as a side note, if, for any reason, you enter in a JavaScript loop and K-meleon warns with a confirm dialog to stop it, you could even stop it by opening a new window (or by calling k-meleon.exe again) and disabling JavaScript from there, as the window with the dialog will probably hang and or block any action in the main window.
A quick write, that will bring an alert and from there, disable JavaScript of whatever following what I said above.
WarnTabsLimit{
$_WarnTabsLimit_pref = getpref(INT, "browser.tabs.maxOpenBeforeWarn");
if($TabNumber >= $_WarnTabsLimit_pref){
alert("You have reached your tabs limit of ".$_WarnTabsLimit_pref." tabs", Tabs Limit Warning, INFO);
}
}
$OnLoad = $OnLoad."WarnTabsLimit;";
I
haven't tested and I know it could be improved, but I let it to the itchy fingers
Edited 6 time(s). Last edit at 05/15/2020 02:15PM by JohnHell.