For example mask as firefox is:
Mozilla/5.0 (Windows NT 5.1; U; en; rv:1.8.0) Gecko/20060728 Firefox/1.5.0
but I'd like this for example:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Some sites do check for FF 2.0. If I had to mask, I don't want to look like IE user... mask as IE usually
works, but it's a question of honour ;-)
Thanks in advance.
No, that is not possible inside Opera. To use another user-agrent string,
some proxy software would be needed.
--
Rijk
Gemaakt met Opera's revolutionaire e-mailprogramma:
http://www.opera.com/mail/
Yes, it's possible: http://my.opera.com/Lee_Harvey/blog/show.dml/14802
Using your conditions above, save the following (untested) User JavaScript
to a .js file in your UserJS folder...
// Change meaning of =4 value in ua.ini file to ID as Firefox 2.0.0.11
if (navigator) {
var ua = navigator.userAgent;
// If Opera's userAgent matches this, then change it...
if (ua == "Mozilla/5.0 (Windows NT 5.1; U; en; rv:1.8.0) Gecko/20060728
Firefox/1.5.0") {
navigator.oscpu = "Windows NT 5.1";
navigator.vendorSub = "2.0.0.11";
navigator.productSub = "20071127";
navigator.vendor = "Firefox";
navigator.product = "Gecko";
navigator.language = "en";
var ffxPre = "Mozilla/5.0 (Windows; U; ";
var ffxSuf = "; " + navigator.language + "; rv:1.8.1.11) " +
navigator.product + "/" + navigator.productSub + " " + navigator.vendor +
"/" + navigator.vendorSub;
navigator.userAgent = ffxPre + navigator.oscpu + ffxSuf;
}
}
...then "Mask as Firefox" in Opera will change from v1.5.0 to v2.0.0.11
Enjoy.