Active Topics

 



Notices


Reply
Thread Tools
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#61
Originally Posted by macey View Post
What Is this supposed to do?
I understand sed but can't understand what this is supposed to do... Anyway, tried it & facebook still fails....
It'd set the general.useragent.vendor instead of general.useragent.override

Just edits the file
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
macey's Avatar
Posts: 283 | Thanked: 276 times | Joined on Aug 2011 @ uk or @Pai,Mae Hong Son, Thailand
#62
Originally Posted by marmistrz View Post
Just edits the file
[/FONT][/COLOR]
See prev post, please. sorry......

Last edited by macey; 2013-09-26 at 16:55.
 
Posts: 959 | Thanked: 3,427 times | Joined on Apr 2012
#63
Would it be possible to do this for Harmattan?
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#64
Originally Posted by taixzo View Post
Would it be possible to do this for Harmattan?
iirc there is already such possibility, but only with MeeFox.
So I'd like to have this also (in general).
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#65
Originally Posted by macey View Post
Sere prev post, please. sorry......
Just look at this: http://kb.mozillazine.org/User.js_file
And try to tune it to your needs. When you find something that works great, let me know, and I'll add it to uat.
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
macey's Avatar
Posts: 283 | Thanked: 276 times | Joined on Aug 2011 @ uk or @Pai,Mae Hong Son, Thailand
#66
Originally Posted by marmistrz View Post
just look at this: http://kb.mozillazine.org/user.js_file
and try to tune it to your needs. When you find something that works great, let me know, and i'll add it to uat.
very interesting!

Last edited by macey; 2013-09-26 at 17:03.
 
macey's Avatar
Posts: 283 | Thanked: 276 times | Joined on Aug 2011 @ uk or @Pai,Mae Hong Son, Thailand
#67
Originally Posted by marmistrz View Post
Just look at this: http://kb.mozillazine.org/User.js_file
And try to tune it to your needs. When you find something that works great, let me know, and I'll add it to uat.
I have had a play around with this....
As stated earlier, no matter what you enter in general.useragent.vendor, it gets overriden back to Firefox/3.5 Maemo Browser 1.7.48 RX-51 N900 on browser start.
I have created s user.js script, with:-
Code:
user_pref("general.useragent.vendor", "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0");
and killed browserui.

about:config
shows general.useragent.vendor unchanged @ Firefox/3.5.....

Changing user.js to:-
Code:
user_pref("general.useragent.override", "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0");
Gets implemented as an override ok, leaving vendor as Firefox/3.5....

Back to the drawing board...:
 

The Following User Says Thank You to macey For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#68
Originally Posted by macey View Post
I have had a play around with this....
As stated earlier, no matter what you enter in general.useragent.vendor, it gets overriden back to Firefox/3.5 Maemo Browser 1.7.48 RX-51 N900 on browser start.
I have created s user.js script, with:-
Code:
user_pref("general.useragent.vendor", "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0");
and killed browserui.

about:config
shows general.useragent.vendor unchanged @ Firefox/3.5.....

Changing user.js to:-
Code:
user_pref("general.useragent.override", "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0");
Gets implemented as an override ok, leaving vendor as Firefox/3.5....

Back to the drawing board...:
grep for vendor in the same directory as user.js
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
macey's Avatar
Posts: 283 | Thanked: 276 times | Joined on Aug 2011 @ uk or @Pai,Mae Hong Son, Thailand
#69
Originally Posted by marmistrz View Post
grep for vendor in the same directory as user.js
Loads of them, all in the various versions of prefs.js pref-n.js etc...
You are getting up to speed now
Yesterday, I went through ALL of the pref*.js files I could find....
Manually editing all of the vendor entres to my desired value. Only
to see they had changed back miraculously to Firefox/3/5.......
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#70
Version 1.2.0 is in extras-devel!

The news: you can create your presets as you wish
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Reply

Tags
browser, microb, user agent


 
Forum Jump


All times are GMT. The time now is 17:39.