Extensions :  K-Meleon Forum
All about K-Meleon extensions. 
macro useragents2018
Posted by: siria
Date: December 17, 2017 09:31AM

Finally ready...
Please test?
Am afraid the site-specific auto-switching doesn't work yet
in ANY build, but hopefully soon in Goanna cool smiley

A prepared UA list is missing yet, hope you have one already...



NEW menu options:
- Open useragents defaults file in editor (restart to import changes)
- Restore last manually typed custom string after toggles
- For defined sites+strings AUTOMATIC switcher possible
. . . (native gecko-function, but only for newest KM-versions)
- Includes toggle for Firefox "CompatMode" (replace separate mode-macro)
- Includes toggle for Goanna-builds "CompatMode"
- Option for Popup-Help for some functions
- The Menu counter now has a fix limit, this allows to have holes in the UA-numbering without breaking the menu (change limit in file, currently max 30)

UPDATE:
the attached 7z contains now a default UserAgents list cool smiley
(it's been awhile that I was a kid, but still can't stop playing,hehe)



Edited 4 time(s). Last edit at 12/17/2017 10:43PM by siria.

Attachments: useragents2018_menu.png (9.6 KB)   useragents2018_v2.01.7z (9.1 KB)  
Options: ReplyQuote
Re: macro useragents2018
Posted by: rodocop
Date: December 17, 2017 07:47PM

Great one!

I'll try it and going to translate to russian


Latest Release KM75.1 Latest dev KM76RC ||| Visit The K-Meleon Place and join me there!
Old good stuff: KM-1.6db+NS © dugbugoffice // KM-16-S2014 © Fred // KM-1.6beta2.6 © JamesD // KM Twin+ © rodocop // KM 1.8.24.22 © adodupan

RECOMMENDED! K-Meleon 76 Pro ==» Download portable: 7zip or EXE =//= Discuss on forum
K-Meleon 75.1 Pro: Download =//= Discuss || Portable Flash plugin (x86/x64 DLLs)

Options: ReplyQuote
Re: macro useragents2018 / UA example list
Posted by: siria
Date: December 17, 2017 10:51PM

Have now included a little UA-list in the attachment above grinning smiley



Update:
now think separate downloads for macro and for list are better,
in case users have already their own one customized.
Newest list version attached HERE:



Edited 2 time(s). Last edit at 12/19/2017 08:37PM by siria.

Attachments: useragents2018_menu2.png (11.9 KB)   useragents2018.js (4 KB)  
Options: ReplyQuote
Re: macro useragents2018
Posted by: siria
Date: December 18, 2017 07:40AM

User agents in K-MELEON PRO:

Cannot believe how long it took me to figure this one out, although it was right before my eyes all the time:

The embedded auto-switcher inside omni.ja does have an ON/OFF switch!!
There's just no menuline for it yet!

So, if someone uses KM-PRO and prefers global useragents as in the old times, and can live WITHOUT site-specific automatic, you can switch it off yourself:
open about:config, find "kmeleon.privacy.useragent.Count", right-click and change it to 0 - that's all!
And also DISABLE the whole macro, or otherwise it restores that Count-pref again at next startup.

Now you can install other useragent macros, for GLOBAL settings, and they will start working.

Little offline tests work - or am I missing something...??


And more testing showed, that it's rather easy to edit that file in omni.ja manually, and after tinkering a bit with the code, inserting a few lines, it can actually respect a GLOBAL fake setting AND still overwrite it for some defined automatic sites!
That needs a bit tinkering to with the alternative macro for global settings, that one simply must write one additional pref after changing the global UA, but that's quite easy.



Edited 5 time(s). Last edit at 12/18/2017 07:49AM by siria.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.