Extensions :  K-Meleon Web Browser Forum
All about K-Meleon extensions. 
Pages: 12Next
Current Page: 1 of 2
useragent switcher
Posted by: disrupted
Date: June 16, 2009 03:07AM

auto switches agent to firefox when badsite detected else agent is kept as k-meleon
http://kmext.sourceforge.net/macros/agentswitcher.kmm

bad sites: hotmail(live login), yahoo mail, okrut and facebook.. more sites can be added easily by following the string template.. it's not the best of macros but it works even though onload. tested on hotmail..compose thing worked and facebook additional toolbar with chat and comments thingies.. on yahoo it worked aswell but perhaps not a good thing as they pop a message about real plugin on firefox but the mail works without please get another browser loser.


# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ---------- agent switcher pend----------------------------

defaultagent{
getpref(BOOL,$_UserAgent_Reset)?delpref($_UserAgent_Active):0;
}

switcher{
$fireslut=("Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.18) Gecko/20081029 Firefox/2.0.0.18 K-MELEON geckoisgecko.info");
$switcher=setpref( STRING, "general.useragent.override", $fireslut);
}

badsite1{
$check=hostname( $URL );
$check=="login.live.com"?&switcher:&badsite2;
}

badsite2{
$check=hostname( $URL );
$check=="mail.live.com"?&switcher:&badsite3;
}

badsite3{
$check=hostname( $URL );
$check=="login.yahoo.com"?&switcher:&badsite4;
}

badsite4{
$check=hostname( $URL );
$check=="mail.yahoo.com"?&switcher:&badsite5;
}

badsite5{
$check=hostname( $URL );
$check=="uk.mg40.mail.yahoo.com"?&switcher:&badsite6;
}

badsite6{
$check=hostname( $URL );
$check=="fr.mg40.mail.yahoo.com"?&switcher:&badsite7;
}

badsite7{
$check=hostname( $URL );
$check=="de.mg40.mail.yahoo.com"?&switcher:&badsite8;
}

badsite8{
$check=hostname( $URL );
$check=="es.mg40.mail.yahoo.com"?&switcher:&badsite9;
}

badsite9{
$check=hostname( $URL );
$check=="www.orkut.com"?&switcher:&badsite10;
}

badsite10{
$check=hostname( $URL );
$check=="orkut.com"?&switcher:&badsite11;
}

badsite11{
$check=hostname( $URL );
$check=="www.facebook.com"?&switcher:&badsite12;
}

badsite12{
$check=hostname( $URL );
$check=="facebook.com"?&switcher:&badsite13;
}

badsite13{
$check=hostname( $URL );
$check=="login.facebook.com"?&switcher:&defaultagent;
}

#http://uk.mg40.mail.yahoo.com


$OnLoad=$OnLoad."badsite1;";
# --------------------------------------------------------------------
$macroModules=$macroModules."agentswitch;";


Options: ReplyQuote
Re: useragent switcher
Posted by: desga2
Date: June 18, 2009 10:45AM

You can implement this code to read thes sites from a file instead to use a macro function for each site:
    $CONTENT = readfile( PATH );

Returns the contents of the specified file (32 kB maximum). Only for little text files.

K-Meleon in Spanish

Options: ReplyQuote
Re: useragent switcher
Posted by: disrupted
Date: June 18, 2009 05:08PM

thanks desga.. i think this one is better(checks against a badlist)
http://kmext.sourceforge.net/macros/agentswitcher.kmm

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ---------- agent switcher pend----------------------------

$_badlist=getfolder(RootFolder)."\\macros\\badlist.txt";

defaultagent{
getpref(BOOL,$_UserAgent_Reset)?delpref($_UserAgent_Active):0;
}

switcher{
$fireslut=("Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.18) Gecko/20081029 Firefox/2.0.0.18 K-MELEON geckoisgecko.info");
$switcher=setpref( STRING, "general.useragent.override", $fireslut);
}

badchecker{
$badcheck=readfile($_badlist);
$checkh=hostname( $URL );
$find1=gsub($checkh, "crappysite", $badcheck);
$find2=gensub("crappysite", "crapcrap", 1, $find1);
$find1==$find2?&defaultagent:&switcher;
#prompt($find1, "tester" , $find2 );
}


$OnLoad=$OnLoad."badchecker;";
# --------------------------------------------------------------------
$macroModules=$macroModules."agentswitch;";


badlist.txt example:
http://kmext.sourceforge.net/macros/badlist.txt
badlist.txt must be in macros folder

enter host name of badsite(without httpe://); separate entries by semicolon(winking smiley
or download macro+badlist package
http://kmext.sourceforge.net/macros/agentswitcher.7z

you know desga, sometimes i hate you.. you never let me take the easy way out grinning smiley

Options: ReplyQuote
Re: useragent switcher
Posted by: disrupted
Date: June 18, 2009 07:29PM

autoagentswitcher plus
http://kmext.sourceforge.net/macros/agentswitcherplus.7z

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.

# 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;";


Options: ReplyQuote
Re: useragent switcher
Posted by: desga2
Date: June 18, 2009 08:36PM

Quote
disrupted
you know desga, sometimes i hate you.. you never let me take the easy way out grinning smiley

Mmmmmmm... easy? Please count the first code lines and second code lines. What is less work? tongue sticking out smiley And is a more elegant macro, seems that you know about macro language. grinning smiley

If you like it more easy then save the black list in a pref separates by ';' or '|'.
This is almost more speed because prefs are in memory but text file is in disk (requiered I/O request to disk).

Options: ReplyQuote
Re: useragent switcher
Posted by: disrupted
Date: June 18, 2009 09:20PM

Quote
desga2
Quote
disrupted
you know desga, sometimes i hate you.. you never let me take the easy way out grinning smiley

Mmmmmmm... easy? Please count the first code lines and second code lines. What is less work? tongue sticking out smiley And is a more elegant macro, seems that you know about macro language. grinning smiley

If you like it more easy then save the black list in a pref separates by ';' or '|'.
This is almost more speed because prefs are in memory but text file is in disk (requiered I/O request to disk).

first one has more code but less mind-usage..all copy and paste. i don't like to use my brain grinning smiley but yes ofcourse..it's much more elegant... i'm still learning macro, i like autoit more(don't have semicolons dementia there ) i thought about making it in prefs but this will make it harder for user(facebook patrons) to open and edit the list.

here's update for autoagentswitcher plus with option to add current website automatically in badlist
http://kmext.sourceforge.net/macros/agentswitcherplus.7z

# 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");
}

addbadsite{
$HOST=hostname( $URL );
$badstring=(";".$HOST);
pluginmsg(utils, "append", $_badlist, $badstring);
$pendmess=("Fireslut useragent will now be used for this address: ".$HOST);
alert($pendmess,"Website added to badlist" ,INFO);
}

_autoswitchagent_BuildMenu{
setmenu("&User Agent",inline,auto_agentswitch,-1);
setmenu(auto_agentswitch,macro,"Auto Switcher",tog_autoswitch);
setmenu(auto_agentswitch,macro,"Add Website",addbadsite);
setmenu(auto_agentswitch,macro,"Edit Switchlist",editbad);
}

$OnInit=$OnInit."_autoswitchagent_BuildMenu;";
# --------------------------------------------------------------------
$macroModules=$macroModules."autoagentswitchmenu;";




slightupdate: menugreyed for local addresses in addbadsite to avoid messing badlist
menugrayed=(hostname($URL)=="");



Edited 1 time(s). Last edit at 06/18/2009 09:29PM by disrupted.

Options: ReplyQuote
Re: useragent switcher
Posted by: disrupted
Date: June 19, 2009 12:23AM

update2: agentswitcher.kmm fix for displaying wrong locale or os(was using mine).. now gets the default firefox agent and uses it..if you want to add the geckoisgecko.info bit then add it in about:config or prefs.js and edit value kmeleon.privacy.useragent1.string
download from same link

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ---------- agent switcher---------------------------

$_badlist=getfolder(RootFolder)."\\macros\\badlist.txt";

defaultagent{
getpref(BOOL,$_UserAgent_Reset)?delpref($_UserAgent_Active):0;
}

switcher{
$fireslut=getpref(STRING, "kmeleon.privacy.useragent1.string");
$switcher=setpref(STRING, "general.useragent.override", $fireslut);
}

badchecker{
$badcheck=readfile($_badlist);
$checkh=hostname( $URL );
$find1=gsub($checkh, "crappysite", $badcheck);
$find2=gensub("crappysite", "crapcrap", 1, $find1);
$find1==$find2?&defaultagent:&switcher;
#prompt($find1, "tester" , $find2 );
}


$OnLoad=$OnLoad."badchecker;";
# --------------------------------------------------------------------
$macroModules=$macroModules."agentswitch;";


Options: ReplyQuote
Re: useragent switcher
Posted by: ndebord
Date: June 23, 2009 10:15PM

Quote
disrupted
update2: agentswitcher.kmm fix for displaying wrong locale or os(was using mine).. now gets the default firefox agent and uses it..if you want to add the geckoisgecko.info bit then add it in about:config or prefs.js and edit value kmeleon.privacy.useragent1.string
download from same link

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ---------- agent switcher---------------------------

$_badlist=getfolder(RootFolder)."\\macros\\badlist.txt";

defaultagent{
getpref(BOOL,$_UserAgent_Reset)?delpref($_UserAgent_Active):0;
}

switcher{
$fireslut=getpref(STRING, "kmeleon.privacy.useragent1.string");
$switcher=setpref(STRING, "general.useragent.override", $fireslut);
}

badchecker{
$badcheck=readfile($_badlist);
$checkh=hostname( $URL );
$find1=gsub($checkh, "crappysite", $badcheck);
$find2=gensub("crappysite", "crapcrap", 1, $find1);
$find1==$find2?&defaultagent:&switcher;
#prompt($find1, "tester" , $find2 );
}


$OnLoad=$OnLoad."badchecker;";
# --------------------------------------------------------------------
$macroModules=$macroModules."agentswitch;";

Disrupted,

SO is the above code the final user agent checker code? (I want to use ASAP!)

Much Tks

N

Options: ReplyQuote
Re: useragent switcher
Posted by: disrupted
Date: June 23, 2009 10:34PM

yes but use the whole extension at this link:
http://kmext.sourceforge.net/macros/agentswitcherplus.7z
because onload is not polite; the extension includes a supplement extension to toggle main switcher off and on, .. also a badlist.txt is included with known sites like hotmail and facebook already added. the supplement macro is important if you want to add a page to badlists.txt because it does it for you instead of editing in notepad

Options: ReplyQuote
Re: useragent switcher
Posted by: Paul
Date: June 23, 2009 11:03PM

Lovely jubbly thanks disrupted. grinning smiley



Options: ReplyQuote
Re: useragent switcher
Posted by: ndebord
Date: June 23, 2009 11:47PM

Quote
disrupted
yes but use the whole extension at this link:
http://kmext.sourceforge.net/macros/agentswitcherplus.7z
because onload is not polite; the extension includes a supplement extension to toggle main switcher off and on, .. also a badlist.txt is included with known sites like hotmail and facebook already added. the supplement macro is important if you want to add a page to badlists.txt because it does it for you instead of editing in notepad

disrupted,

One question for you. When I tried to use checkout to install this, it wanted to place the files in this location:

C:\Program Files\agentswitcherplus

Is that correct? Or something like this?

C:\Program Files\K-Meleon\macros\agentswitcherplus

or just
C:\Program Files\K-Meleon\macros\

Tks.

N

Options: ReplyQuote
Re: useragent switcher
Posted by: JujuLand
Date: June 24, 2009 07:17AM

Look at kmm file, you will probably found the answer tongue sticking out smiley

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: useragent switcher
Posted by: ndebord
Date: June 24, 2009 01:20PM

Quote
JujuLand
Look at kmm file, you will probably found the answer tongue sticking out smiley

A+

Alain,

Aaah? Aaah-Ha!

$_badlist=getfolder(RootFolder)."\\macros\\badlist.txt";

N



Edited 1 time(s). Last edit at 06/24/2009 03:05PM by ndebord.

Options: ReplyQuote
Re: useragent switcher
Posted by: ndebord
Date: June 24, 2009 03:06PM

Disrupted,

A nice way to advertise KM. Well done.

N

Options: ReplyQuote
Re: useragent switcher
Posted by: disrupted
Date: June 24, 2009 06:01PM

thanks nde. the idea mainly is not to advertise kmeleon but to let the webdeveloper realise his/her errors.. that's why the geckoisgecko.info part is crucial. because this person would be looking at visitor stats and find a lot of browsers with firefox agent but with an geckoisgecko.info ending..will make him wonder and go to that site and understand the message.

the updated switcher doesn't use the geckoisgecko.info part anymore because i found it would be using a wrong locale/os when spoofing with own string..so it just uses the default firefox spoof set in your prefs. so now you need to change the default firefox spoof in about:config

find the value: kmeleon.privacy.useragent1.string
it would be something like this:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.18) Gecko/20081029 Firefox/2.0.0.18

it would differ according to os/locale..do not change the main string, just add this bit to it:
K-MELEON geckoisgecko.info
so it all becomes:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.18) Gecko/20081029 Firefox/2.0.0.18 K-MELEON geckoisgecko.info

i hope this becomes the default spoof for firefox in next versions and other geckos with the same problem would add it too like camino , seamonkey etc

orca guys decided to add their vendor/version substring at the end but that's not good enough..because it doesn't contain a message to the dev 'you have a problem please go to this site' .. they'd see the orca part and won't care much about it.. if anybody knows someone at their forums/devs, tell them it's more important to add the geckoisgecko.info bit than to add the browser vendor.

Options: ReplyQuote
Re: useragent switcher
Posted by: ndebord
Date: June 24, 2009 11:48PM

disrupted,

<<hanks nde. the idea mainly is not to advertise kmeleon but to let the webdeveloper realise his/her errors.. that's why the geckoisgecko.info part is crucial. because this person would be looking at visitor stats and find a lot of browsers with firefox agent but with an geckoisgecko.info ending..will make him wonder and go to that site and understand the message.>>

Disrupted,

Agreed, poor choice of words on my part. I have not seen a lot of effort on website developers to acknowledge anything other than IE and FF. Just lazy designers imo.

N

Options: ReplyQuote
Re: useragent switcher
Posted by: ndebord
Date: June 24, 2009 11:50PM

Disrupted,

One small question for you. I've loaded this KMM up and now it shows up as follows:

Tools/User Agent/

[X] Auto Switcher
[X] Default

Are those the correct settings to properly use this macro?

Tks

N

Options: ReplyQuote
Re: useragent switcher
Posted by: disrupted
Date: June 25, 2009 12:35AM

yes, that's correct..if you see ;default' checked, that means the site is not on the badlist and autoswitcher is using kmeleon useragent.. when you go to a badsite, you'll find that the firefox useragent becomes checked

you can test with sites on the badlist like hotmail and facebook and see if firefox becomes selected, better test is to see if the features they disable with kmeleon are working with autoswitcher..in hotmail they disable new message>compose box and facebook they don't show 2 buttons at the bottom, chat and comments i think. if you don't have accounts with them, you can test with those:

hotmail account:
user: kmeleontesters@live.co.uk
pass: fuckhotmail

facebook:
anonymous2@freeuk.com
fuckfacebook

Options: ReplyQuote
Re: useragent switcher
Posted by: ndebord
Date: June 25, 2009 03:26AM

disrupted,

When I clicked on the links you provided, my Foxmail email program came up in compose mode, but the default settings didn't change. However when I went to facebook.com, the useragent string changed to Firefox. Nice!

N

Options: ReplyQuote
Re: useragent switcher
Posted by: foobarly
Date: June 25, 2009 10:49AM

Quote
disrupted
[...]
orca guys decided to add their vendor/version substring at the end but that's not good enough..because it doesn't contain a message to the dev 'you have a problem please go to this site' .. they'd see the orca part and won't care much about it.. if anybody knows someone at their forums/devs, tell them it's more important to add the geckoisgecko.info bit than to add the browser vendor.

I'll do it... eventually grinning smiley Thanks for the info.

EDIT: Done! (http://forum.avantbrowser.com/viewtopic.php?f=73&t=25967)

--- sig ---




Edited 3 time(s). Last edit at 07/02/2009 03:01PM by foobarly.

Options: ReplyQuote
Re: useragent switcher
Posted by: foobarly
Date: July 02, 2009 03:01PM

In the thread mentioned in my previous post (above), there have been questions concerning the ownership of the geckoisgecko.info website, proper contacts and how K-Meleon got added. If you have any info on this, please post it.

There's also a solution for adding the string to your Browser User Agent String via about:config that I think would be usable by KM:

Quote
kudos
You can add anything you want to the user agent string:
Type about:config into the address bar and go there.
Right-click, then on the popup menu: New >> String
In the dialog box enter: general.useragent.extra.?orca?.gecko
Next dialog, set the value to: www.geckoisgecko.info
The user agent string will now have the string appended to it.


--- sig ---




Edited 5 time(s). Last edit at 07/02/2009 04:16PM by foobarly.

Options: ReplyQuote
Re: useragent switcher
Posted by: disrupted
Date: July 02, 2009 06:43PM

thanks foobarly. adding extra strings to the useragent is nothing new(general.useragent.extra.xxxx)..microsoft does it to firefox with its extension thing to include .net version; it's important the developers release the browser with the additional string because not every user will bother adding it or know how.

i have no idea who's behind geckoisgecko.. whois.com sez it's registered to christopher henderson who is an ex-dev at mozilla so it could be him, his listed email is inspiralsoftware AT gmail.com it can also be robert kaiser who was one of the pioneers for the proper feature sniff instead of vendor sniff scripts http://kairo.at

kmeleon was always there, i don't believe anyone contacted them to add it.. the site used to be .org and later they removed epiphany when it became a webkit browser and replaced it with fennec so they stay up-to-date on their own.. when orca becomes better known; they will add it probably replacing the defunct netscape. they can try to contact either guys.

it doesn't matter if they add http or www, i prefer just geckoisgecko.info to make it different from search engine bots that usually have a 'clickable' address with http when viewed in sitestats.. this way it just ensures the browser won't be mistaken for a bot.

Options: ReplyQuote
Re: useragent switcher
Posted by: foobarly
Date: July 03, 2009 10:58AM

TY disrupted for all the info.

At the other forum, one of the devs/mods said that geckoisgecko.info doesn't resolve to the proper server -- orca, for example, sends you to google if enter this -- so the proper string should have the www. part. I appreciate the thoughtfulness of trying to differentiate this resource form the spambots, but isn't it too much in this case? I mean, the address is pretty evident...

TY again.

--- sig ---


Options: ReplyQuote
Re: useragent switcher
Posted by: tba-
Date: December 25, 2009 02:45PM

i dont know what im doing wrong, but when i load facebook i have to load it again so i can typ something on someones bulletin board. and it doesnt change back when i leave facebook.

any suggestions?

Options: ReplyQuote
Re: useragent switcher
Posted by: guenter
Date: December 25, 2009 03:59PM

Quote
tba-
i dont know what im doing wrong, but when i load facebook i have to load it again so i can typ something on someones bulletin board. and it doesnt change back when i leave facebook.

any suggestions?

Wir sprechen über: useragent switcher ?

Eine K-Meleon Erweiterungen zum Führen einer schwarzen Liste, für Seiten, bei denen man (die Erweiterung wechselt dann die Kennung automatisch) Firefox als UserAgentString statt K-Meleon angeben muss.

Bei manchen Seiten muss man mehr als eine URL angeben. Ich musste bei Yahoo Mail manuell nachbessern, bis alles erfasst war. Vorher musste ich nachladen - bis ich endl. in der Mail war. Jetzt verschluckt sich Yahoo auch noch manchmal, aber das liegt bei mir an der K-Meleon Erweiterung für Roboform. UserAgentSwitcher ist also nicht unfehlbar - du kannst mal gucken welche Facebook URLs du händisch eintragen musst. Und welche anderen Erweiterungen stören könnten?

K-Meleon wechselt nach Standard, wenn alles heile ist, notfalls eine neuere Version der Erweiterung installieren. Guch mal in die Fehler Konsole, was für Fehler du hast...

Frohes Fest



Edited 1 time(s). Last edit at 12/25/2009 04:00PM by guenter.

Options: ReplyQuote
Re: useragent switcher
Posted by: tba-
Date: December 28, 2009 04:24PM

ahh ok, dann läufts glaub ich so gut es geht...ich ging davon aus das der switcher unfehlbar sei und es alles mein fehler wäre smiling smiley

Options: ReplyQuote
Re: useragent switcher
Posted by: disrupted
Date: December 29, 2009 08:22AM

update#138178423894

this update addresses the issue of sites with several and non-conventional subdomains, with this update the user is no loner required to add every single subdomain to be able to use the switcher, it will automatically compare the main domain against the list regardless of the name or length of the subdomain or even when the host name contains several subdomains. i.e. only the main domain needs to be added

example if you have live.com in your bad list, the auto switcher will automtically use the firefox ua with any subdomain containning the original domain like:
skydrive.live.com
home.live.com
shhdwerwufwifwrwriwufhf.skydrive.live.com

same goes with yahoo and facebook etc or any other domain
you only need to add yahoo.com or yahoo.de and autoswitcher will activate with
mail.yahoo.com
26r2374923407924.msg12344723.mail231231.yahoo.co.uk
or
login.facebook.com
4123tsd7tf2etr672623.photos.e23ery72e23.facebook.com

the update also includes a new event handler for more effectiveness and a new status message when the ff ua is used in the statusbar: "stupid site detected: ua changed to fireslut"

the update also sets autoswitcher on by default so the user does not need to activate it from the menu on first run/first install

http://kmext.sourceforge.net/macros/agentswitcherplus.7z

Options: ReplyQuote
Re: useragent switcher
Posted by: ndebord
Date: December 29, 2009 03:58PM

disrupted,

Thanks for the update. Switcher is a most useful extension.

N

Options: ReplyQuote
Re: useragent switcher
Posted by: disrupted
Date: January 12, 2010 08:08PM
Options: ReplyQuote
Re: useragent switcher
Posted by: disrupted
Date: January 15, 2010 12:58PM

agent switcher has been updated to a special version with a special detection for facebook domains after facebook has updated their sniffer to properly detect gecko but their js code requires atleast gecko 1.9.1 to work

the ua will now be spoofed to an 'older' opera string for facebook, other bad sites included or added to the badlist will still use the ff2.0 string normally.

the new switcher has been fully tested and it works as expected by auto switching to opera on all facebook domains and switching back to default on usual sites and switching to ff2.0 on sites on the badlist.

all features of facebook have been tested chat/notification/applications and they all work fine with the specail opera spoof..chat transmits work as usual and without problems, notifications as well etc however there is a small disadvantage due to that code kmeleon is interpreting on facebook is for presto engines and not for gecko. the icons displayed on the bar thing at the bottom are no longer visible but they are all there, you just need to hover on the bar and a tip will pop indicating that thing just without its icon




to prevent conflicts, facebook domains have been removed from the badlist and you should not add any facebook domains to the badlist(add website is now disabled if you re on a facebook page)

download latest update: (facebook special)
http://kmext.sourceforge.net/macros/agentswitcherplus.7z

please note:
this special version is only for km 1.5 and 1.1.x , if you use experimental kmeleons with 1.9.1+ gecko is does not require any spoofing with facebook, also official km 1.6 should work without any problems and without spoofing for facebookdomains when released..for that reason, the normal switcher can still be downloaded from this link: (no facebook support)
defunct




Edited 1 time(s). Last edit at 02/04/2010 10:36AM by disrupted.

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


K-Meleon forum is powered by Phorum.