Extensions :  K-Meleon Web Browser Forum
All about K-Meleon extensions. 
User Agent changer for K-meleon 7x.x Official releases - not PRO
Posted by: JohnHell
Date: November 26, 2017 07:21PM

THIS EXTENSION IS ONLY TO BE USED TO ADD CUSTOM USER AGENT CONFIGURATION TO
K-MELEON VANILLA¹ OFFICIAL RELEASE
INSTALL THIS ONLY IF YOU DON'T HAVE ALREADY INSTALLED AN USER AGENT CHANGER/SWITCHER OR YOU ARE NOT USING AN UNOFFICIAL K-MELEON BUILD


To change the User Agent in K-meleon 74, 75, 75.1 and 76, you need to install a K-meleon macro extension, as the feature was removed for these versions.

To install it, download it from the bottom line of this post, and follow the next steps to use it, that are available, as well, in the Readme.txt inside the file you'll download.

Read the Readme.txt before proceed.



¹ A vanilla version is any that hasn't been modified. In the case of K-meleon and regarding this thread, the official downloads from the Download section, and that hasn't been customized with any macro or add-ons after install it that directly or indirectly plays with the user agent.



Edited 8 time(s). Last edit at 11/28/2017 05:32PM by JohnHell.

Attachments: UserAgent for K-meleon 7x.x 2017-11-27s.zip (3.8 KB)  
Options: ReplyQuote
Re: User Agent changer for K-meleon 7x.x
Posted by: George_Hall
Date: November 26, 2017 09:31PM

The macro useragent.kmm from User Agent changer for K-meleon 7x.x replaces the macro useragent.kmm from UA Header Control http://kmext.sourceforge.net/extensions/UAheadercontrol2.7z K-Meleon Extensions Central http://kmext.sourceforge.net/ under Privacy & Security Extensions http://kmext.sourceforge.net/ext1.htm



Edited 1 time(s). Last edit at 11/26/2017 09:33PM by George_Hall.

Options: ReplyQuote
Re: User Agent changer for K-meleon 7x.x
Posted by: rodocop
Date: November 26, 2017 10:37PM

Also not applicable for K-Meleon 7x Pro builds.

NB! Next KM 76 Pro will combine oldschool global UA-switcher from 1.x, mentioned here in thread and per-site UA-switcher used to be included in all Pro-builds.



Edited 1 time(s). Last edit at 11/26/2017 10:38PM by rodocop.

Options: ReplyQuote
Re: User Agent changer for K-meleon 7x.x Official releases - not PRO
Posted by: JohnHell
Date: November 26, 2017 11:03PM

Quote
George_Hall
The macro useragent.kmm from User Agent changer for K-meleon 7x.x replaces the macro useragent.kmm from UA Header Control http://kmext.sourceforge.net/extensions/UAheadercontrol2.7z K-Meleon Extensions Central http://kmext.sourceforge.net/ under Privacy & Security Extensions http://kmext.sourceforge.net/ext1.htm


That is intentional. This is to give the capatiblity to the official release.


I edited the first post to be clear.



Edited 2 time(s). Last edit at 11/26/2017 11:03PM by JohnHell.

Options: ReplyQuote
Re: User Agent changer for K-meleon 7x.x Official releases - not PRO
Posted by: siria
Date: November 26, 2017 11:19PM

Quote
George_Hall
The macro useragent.kmm from User Agent changer for K-meleon 7x.x replaces the macro useragent.kmm from UA Header Control http://kmext.sourceforge.net/extensions/UAheadercontrol2.7z K-Meleon Extensions Central http://kmext.sourceforge.net/ under Privacy & Security Extensions http://kmext.sourceforge.net/ext1.htm

Sigh... always a mess if several extensions are doing a "similar" but not identic thing :-( And even use same-name macros!
Do not mix those!
(unless you know exactly what you're doing and can rewrite the kmm yourself)

Johns slightly updated traditional UA macro above is meant for users who don't have ANY other useragent stuff installed yet (except the Firefox-compat-toggle) It just was updated with two more commands, to easily open a list file "useragents.js" and to check the current UA string.

But if you already have installed any other, especially semi- or fully automatic useragent extension, like this full blown Firefox addon named "headercontrol", do NOT overwrite parts of it again. That FF addon already contains yet another modified version of the traditional useragent.kmm macro, with 3 unique "headercontrol" prefs added inside, and the FF-compat-toggle.
Also don't overwrite, if you use rodocops KM PRO version, which out-of-box contains yet another automatic UA switcher.
Better never do, if you already use any other useragent extension.



Edited 1 time(s). Last edit at 11/26/2017 11:25PM by siria.

Options: ReplyQuote
Re: User Agent changer for K-meleon 7x.x Official releases - not PRO
Posted by: JohnHell
Date: November 28, 2017 12:33AM

Updated first post file.

Options: ReplyQuote
Re: User Agent changer for K-meleon 7x.x Official releases - not PRO
Posted by: Mala Okeh
Date: November 28, 2017 09:05AM

Can someone tell me more about this K-MELEON VANILLA OFFICIAL RELEASE?

Thx in advance

Mala

Options: ReplyQuote
Re: User Agent changer for K-meleon 7x.x Official releases - not PRO
Posted by: siria
Date: November 28, 2017 11:35AM

Quote
Mala Okeh
Can someone tell me more about this K-MELEON VANILLA OFFICIAL RELEASE

grinning smiley No mystery, all versions you find at the official Download page smiling smiley
http://kmeleonbrowser.org/download.php

Vanilla software just means simple "official" builds, without any user additions or improvements or forks (like rodocops Pro version).
https://en.wikipedia.org/wiki/Vanilla_software

The main point HERE was simply:
only add this macro/extension to KM versions which do NOT already contain any other useragent extensions, or they will conflict which each other.

Options: ReplyQuote
Re: User Agent changer for K-meleon 7x.x Official releases - not PRO
Posted by: siria
Date: November 29, 2017 12:45PM

Quote
roytam1
compatmode setting is a trimode option:
0 = No compat mode
1 = Gecko/Goanna compat mode
2 = Firefox compat mode

Roytam from the PaleMoon team got me thinking:
What if we add a "universal compat mode" option?! grinning smiley grinning smiley
Don't laugh, but I like smiling smiley
First idea: to add a new pref with anything possible in it, customizable for users, for example "K-Meleon 76.0", perhaps needs another Bool-toggle for it too. Then whenever a fake UA is set by macro, it either adds or not this suffix to the custom UA...
Purpose is to PERHAPS get KM a bit more visibility in the UA-stats, even when faked with something else as FF...

Options: ReplyQuote
Re: User Agent changer for K-meleon 7x.x Official releases - not PRO
Posted by: roytam1
Date: November 29, 2017 02:17PM

Quote
siria
Quote
roytam1
compatmode setting is a trimode option:
0 = No compat mode
1 = Gecko/Goanna compat mode
2 = Firefox compat mode

Roytam from the PaleMoon team got me thinking:
What if we add a "universal compat mode" option?! grinning smiley grinning smiley
Don't laugh, but I like smiling smiley
First idea: to add a new pref with anything possible in it, customizable for users, for example "K-Meleon 76.0", perhaps needs another Bool-toggle for it too. Then whenever a fake UA is set by macro, it either adds or not this suffix to the custom UA...
Purpose is to PERHAPS get KM a bit more visibility in the UA-stats, even when faked with something else as FF...
To be clear, I'm not from Pale Moon team. I'm just an individual builder which started building gecko-based applications since 2006.

Options: ReplyQuote
Re: User Agent changer for K-meleon 7x.x Official releases - not PRO
Posted by: JohnHell
Date: November 29, 2017 04:35PM

Quote
siria
Quote
roytam1
compatmode setting is a trimode option:
0 = No compat mode
1 = Gecko/Goanna compat mode
2 = Firefox compat mode

Roytam from the PaleMoon team got me thinking:
What if we add a "universal compat mode" option?! grinning smiley grinning smiley
Don't laugh, but I like smiling smiley
First idea: to add a new pref with anything possible in it, customizable for users, for example "K-Meleon 76.0", perhaps needs another Bool-toggle for it too. Then whenever a fake UA is set by macro, it either adds or not this suffix to the custom UA...
Purpose is to PERHAPS get KM a bit more visibility in the UA-stats, even when faked with something else as FF...


Eh, uh, ah..., really the idea of this macro was to give an user agent changer to the vanilla version, because Dorian removed it.

And the idea of this user agent changer is to fake the UA. Not to tell I'm K-meleon and I look like Firefox. No, is to tell I'm Firefox.

That is done.

Visibility to the K-meleon UA? I always browse the net without the compat mode and I only had "a couple" of sites that are very reluctant to accept K-meleon as a Gecko compatible browser, because they insist on UA to determine site functionality.

Said that, I'm not going to dig more. Really. If you wish to create it, do, and edit the first post with the new file.

For me this has finished. I'm done.

EDIT: Sorry if I sounded rough. Maybe a bad day.



Edited 1 time(s). Last edit at 11/29/2017 04:36PM by JohnHell.

Options: ReplyQuote
Re: User Agent changer for K-meleon 7x.x Official releases - not PRO
Posted by: siria
Date: November 29, 2017 04:51PM

Yeah I know, and expected that. Perhaps really 'too much'. Perhaps will just write it for private use and test it a while, but only when finding the time - but probably not at all: upon second thought, it would be very, very bad for privacy and tracking! An almost certainly unique string per user - argh, no way.

Options: ReplyQuote
Re: User Agent changer for K-meleon 7x.x Official releases - not PRO
Posted by: WasiFH
Date: May 02, 2019 08:04PM

Quote
siria
Johns slightly updated traditional UA macro above is meant for users who don't have ANY other useragent stuff installed yet (except the Firefox-compat-toggle)

Does it ("Firefox-compat-toggle") mean the menu under tool which says "User Agent Mode" and has 2 submenu options namely "Firefox compatible" and "Reset to K-Meleon on Exit"?

Options: ReplyQuote
Re: User Agent changer for K-meleon 7x.x Official releases - not PRO
Posted by: siria
Date: May 03, 2019 02:24AM

Quote
WasiFH
Quote
siria
Johns slightly updated traditional UA macro above is meant for users who don't have ANY other useragent stuff installed yet (except the Firefox-compat-toggle)

Does it ("Firefox-compat-toggle") mean the menu under tool which says "User Agent Mode" and has 2 submenu options namely "Firefox compatible" and "Reset to K-Meleon on Exit"?

Yeah but if you're using KM-Goanna 76.x, this toggle is useless. Goanna in 76 has a new triple toggle, for Firefox/Gecko/Goanna compat. And KM-Goanna 74 (for Win2000) still uses the old firefox-compat pref, BUT needs additionally the Gecko-Compat-pref. Otherwise the default UA sends Firefox but with Goanna engine.
My recommendation for Goanna:
remove obsolete macros uagent.kmm and useragentmode.kmm, and other UA extensions. Install instead useragents2018 macro:
http://kmeleonbrowser.org/forum/read.php?9,143898
Bonus: it can also manage prefs for site-exceptions ("Automatic"), the native Mozilla way.
All the real work is done by the engine, the macro is merely managing the prefs.
It works in all KM-versions 1.5.4 until newest Goanna, but site-exceptions only in KM7x (this needs additional little hack in omni.ja for KM74-76 gecko)



Edited 1 time(s). Last edit at 05/03/2019 02:59AM by siria.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.