Extensions
: K-Meleon Forum
All about K-Meleon extensions.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=disrupted] autoagentswitcher plus [url=http://kmext.sourceforge.net/macros/agentswitcherplus.7z]http://kmext.sourceforge.net/macros/agentswitcherplus.7z[/url] includes agentswitcher.kmm, badlist.txt and additional macro (agentswitcher-sup.kmm) which adds menu under useragent to toggle auto switcher on and off and menu to open badlists.txt in notepad for adding more badsites:current host automatically gets copied with semicolon to clipboard to easily add badsite with ctrl+v at end of file. note: agentswitcher-sup.kmm is a supplement for agentswitcher.kmm and can not work without it. [color=green][sub]# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage) # ---------- autoagentswitcher supplement---------------------------- $_badlist=getfolder(RootFolder)."\\macros\\badlist.txt"; tog_autoswitch{ menuchecked=getpref(BOOL,"kmeleon.plugins.macros.modules.agentswitcher.load"); togglepref(BOOL,"kmeleon.plugins.macros.modules.agentswitcher.load"); statusbar("Toggles auto-agentswitcher , requires restart"); } editbad{ setclipboard(""); $HOST=hostname( $URL ); $badstring=(";".$HOST); setclipboard($badstring); exec("notepad.exe " .$_badlist); statusbar("edit badlists, for convenience current page host has been copied to clipboard with semicolon prefix"); } _autoswitchagent_BuildMenu{ setmenu("&User Agent",inline,auto_agentswitch,-1); setmenu(auto_agentswitch,macro,"Auto Switcher",tog_autoswitch); setmenu(auto_agentswitch,macro,"Edit Switchlist",editbad); } $OnInit=$OnInit."_autoswitchagent_BuildMenu;"; # -------------------------------------------------------------------- $macroModules=$macroModules."autoagentswitchmenu;"; [/sub][/color][/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development