Just suggestion for your testing :cool:
pref_ToggleJavaScript{
macroinfo=_("Toggle JavaScript execution");
menuchecked=!getpref(BOOL,$pref_JavaScript);
id(navToggleJS); &_pref_SyncButtons;
getpref(BOOL,$pref_JavaScript) ? id(pageEnableJS) : id(pageDisableJS);
statusbar(sub("%s",!getpref(BOOL,$pref_JavaScript)?$off:$on,_("JavaScript execution %s")));
}
The prob is, you'll have to keep in mind that just because the JS-button is green or red, that doesn't show anymore if THAT page has js allowed or not
Problematic when the JS-button was toggled on another page.
Although a macro could probably flip through all tabs and fire the pageJS-toggle in each, but not sure about consequences, am lacking a deeper understanding of that complex JS-stuff in KM75. What I wonder too: would the nav or page toggles now automatically reload anything or not?? In my old KM1.6 certainly not, while the adblock and image-animation toggles do seem to reload all the blocked stuff in ALL tabs, a major pain! Now am afraid if injecting pageJS in all tabs automatically, it may LOAD all the blocked scripts from the web and RUN them?! Oh well, up to other people to figure out.
(sig)
New unofficial K-Meleon 76.4 (KMG76.4) available, in own subforum.
Based on Goanna engine, called 'test' builds forever but more stable as 75.1 acc. forum members. It's 1-2 generations ahead of predecessor KM76RC-2016
K-Meleon FAQ (link missing in forum sidebar)
Tips&Tricks -
Learning new stuff every day
New to K-Meleon?
What do you like? What not?
Edited 1 time(s). Last edit at 10/13/2015 01:00AM by siria.