General
: K-Meleon Forum
General discussion about K-Meleon.
Goto:
Forum List
•
Message List
•
Search
•
Log In
Your Name:
Subject:
Help information
BBcode help
Smileys help
[quote=rodocop] falsomail, when together with Google translate, yo comprendo espaƱol suficiente bien :P 1) speaking about UAs: they are stored in KM prefs and to set they by default you must define strings in [b]ROOTFOLDER\defaults\pref\I10n.js[/b] in the case of KM Twin user-agent strings are inherited from db-builds and the corresponding part of [b]I10n.js[/b] looks like this: [code] // Privacy pref("kmeleon.privacy.useragent1.name", "Firefox 3.6.28"); pref("kmeleon.privacy.useragent1.string", "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.28) Gecko/20120306 Firefox/3.6.28"); pref("kmeleon.privacy.useragent2.name", "Firefox 15"); pref("kmeleon.privacy.useragent2.string", "Mozilla/5.0 (Windows NT 5.1; rv:15.0) Gecko/20100101 Firefox/15.0"); pref("kmeleon.privacy.useragent3.name", "Opera 12"); pref("kmeleon.privacy.useragent3.string", "Opera/9.80 (Windows ME; U; Edition Next; en) Presto/2.10.269 Version/12.00"); pref("kmeleon.privacy.useragent4.name", "Chrome 17"); pref("kmeleon.privacy.useragent4.string", "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.66 Safari/535.11"); pref("kmeleon.privacy.useragent5.name", "IE 8"); pref("kmeleon.privacy.useragent5.string", "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0"); pref("kmeleon.privacy.useragent6.name", "Netscape 4.8"); pref("kmeleon.privacy.useragent6.string", "Mozilla/4.8 [en] (Win98; U)"); pref("kmeleon.privacy.useragent7.name", "Firefox 6-Linux"); pref("kmeleon.privacy.useragent7.string", "Mozilla/5.0 (X11; Linux i686; rv:6.0.2) Gecko/20100101 Firefox/6.0.2"); pref("kmeleon.privacy.useragent8.name", "Safari 5.1-OSX"); pref("kmeleon.privacy.useragent8.string", "Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50"); pref("kmeleon.privacy.useragent9.name", "iPhone 3.0"); pref("kmeleon.privacy.useragent9.string", "Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7A341 Safari/528.16"); [/code] To make build with other strings you have to make changes in these lines changing some of strings to yours preferred ones. To make permanent change in working profile open [u]about:config[/u] ([b]Edit->Configuration->Browser Configuration[/b]), filter lines by '[b]useragent[/b]' keyword and edit some of settings by doubleclicking corresponding preference and editing the string. 2) This time I just use Ctrl+D (Add) & Ctrl+B (Edit) hotkeys respectively. The default button in Twin works now as [b]Edit/Submenu[/b] (that is bigger than one that you need but first 2 lines are exactly what you want) So you can edit button code simply like this: [code] %ifplugin bookmarks Bookmarks{ bookmarks(Add)|&Bookmarks Add to Bookmarks. Right-click for more options. toolhot.bmp[6] toolcold.bmp[6] tooldead.bmp[6] } %endif [/code] If you want only 2 items in sub-menu, you must create it but I cannot say how to do it right now :( I haven't enough skills to create new menus.[/quote]
[Please Enable JavaScript]
K-Meleon forum is powered by
Phorum
.
Home/News
Screenshots
Download
Documentation
Resources
Get Involved
Forum
Bugs
Development