The Following 3 Users Say Thank You to david.hicks For This Useful Post: | ||
|
2011-10-01
, 18:05
|
Posts: 35 |
Thanked: 60 times |
Joined on Sep 2011
|
#952
|
Code:sudo gainroot apt-get install rdiff mv /opt/bin/opera /opt/bin/opera.orig rdiff patch /opt/bin/opera.orig opera.rpatch /opt/bin/opera chmod 755 /opt/bin/opera
Mozilla/4.0 (compatible; MSIE 8.0; Linux armv7l; ; Opera Arse/9; de) Opera 11.00
The Following User Says Thank You to whisk4s For This Useful Post: | ||
|
2011-10-01
, 21:48
|
Posts: 20 |
Thanked: 11 times |
Joined on Aug 2010
|
#953
|
The Following 4 Users Say Thank You to tig3r81 For This Useful Post: | ||
|
2011-10-01
, 23:06
|
Posts: 1,523 |
Thanked: 1,997 times |
Joined on Jul 2011
@ not your mom's FOSS basement
|
#954
|
if anyone want change opera user-agent:
1)go to opera:config
2)search word "user"
3)scroll to "spoof user agent id" and set:
- 1 = Opera
- 2 = Mozilla
- 3 = Internet Explorer
Site-specific values:
- 4 = Mozilla, Opera not mentioned
- 5 = Internet Explorer, Opera not mentioned
4)restart opera
i used "2" and work fine now but the 1st time I try didn't work.
if don't work the 1st time you can try:
-go to opera:config again
-set "user js storage quota" on 1
-close opera
-go to config again
-set again "spoof user agent"
-close and restart opera
it's work fine for me
someone asked for url filter: i see it in config under network (if you set search-word "user" you should find it.
|
2011-10-01
, 23:29
|
|
Posts: 4,783 |
Thanked: 1,253 times |
Joined on Aug 2007
@ norway
|
#955
|
|
2011-10-02
, 17:54
|
Posts: 669 |
Thanked: 433 times |
Joined on May 2010
|
#956
|
|
2011-10-02
, 18:08
|
Posts: 42 |
Thanked: 20 times |
Joined on Feb 2010
@ Perth, WA
|
#957
|
Thx!! One thing: for me the path to the binary is /opt/opera/bin/opera
But still the user agent with ID 3 contains:For example the german newspaper www.spiegel.de still redirects to the mobile version ml.spiegel.de.Code:Mozilla/4.0 (compatible; MSIE 8.0; Linux armv7l; ; Opera Arse/9; de) Opera 11.00
Maybe its because of 'armv71'?
|
2011-10-03
, 02:13
|
Posts: 42 |
Thanked: 20 times |
Joined on Feb 2010
@ Perth, WA
|
#958
|
if anyone want change opera user-agent:
1)go to opera:config
2)search word "user"
3)scroll to "spoof user agent id" and set:
- 1 = Opera
- 2 = Mozilla
- 3 = Internet Explorer
Site-specific values:
- 4 = Mozilla, Opera not mentioned
- 5 = Internet Explorer, Opera not mentioned
4)restart opera
i used "2" and work fine now but the 1st time I try didn't work.
if don't work the 1st time you can try:
-go to opera:config again
-set "user js storage quota" on 1
-close opera
-go to config again
-set again "spoof user agent"
-close and restart opera
it's work fine for me
someone asked for url filter: i see it in config under network (if you set search-word "user" you should find it.
The Following User Says Thank You to david.hicks For This Useful Post: | ||
|
2011-10-12
, 00:40
|
Posts: 560 |
Thanked: 422 times |
Joined on Mar 2011
|
#959
|
|
2011-10-12
, 08:42
|
Posts: 90 |
Thanked: 1,312 times |
Joined on May 2010
|
#960
|
The Following 86 Users Say Thank You to ohrn For This Useful Post: | ||
aanckar, ade, adhrie, Agent 770, ahmadamaj, Alfred, Ayle, Betrayal, bipinbn, bitrocky, Blaizzen, br1zer, carbonjha, casketizer, cincibluer6, Cue, D.Cent, Dancairo, datjomp, demolition, deryo, dsawhney, eber42, ednunez70, excelar8, Fatumiasty, fw190, heavyt, HELLASISGREECE, HtheB, hxka, ivgalvez, J4ZZ, JamesBond@ge, jhb, JimKnopf, Joseph9560, jurop88, Keneraali, kolos, Kroll, lidow, lma, maacruz, MaddogG, MartinK, maximilian1st, Mentalist Traceur, MetalGearSolid, MiK546, Milhouse, momcilo, mscion, n9ots, Netweaver, Nozu, P@t, pantera1989, peterleinchen, Petteri, philheaton, Pigro, PMaff, prankster, psychologe, reinob, RobbH, Roth, Russe89, sakya, sbock, shadowjk, Sphinx780, steven676, Stonik, systemcrash, tissot, Transcend, travla, tso, turbovomit, vetsin, whisk4s, zamorph, zdanee, zeljkobo12 |
Tags |
fast browser, opera |
Thread Tools | |
|
Anyway, for the facebook mobile redirection, and other mobile redirections ... well I have one solution. There is the capability to change the user agent in the opera:config page, however the "Mobi" and "Maemo" strings remain, which is all facebook seems to need to send you to m.facebook.com/
But NightShift is right, a bit of hex editing can work around this.
Go to /opt/opera/bin and make a copy of the opera binary in case you mess it up. Then use a program like hexedit (available on N900) to edit the binary. Search for Mobi and Maemo and replace them with something or blank them out. I replaced "Mobi" with "Arse" and "Maemo" with all spaces. Then try it out.
If the hex editor seems like a hassle then drop to an xterm on the phone and run the following commands -
To get rdiff you'll need extras-devel enabled.
Last edited by david.hicks; 2011-10-02 at 18:10. Reason: fix opera paths