In IE, i can found this key at HKLM\security\IE\agentbase .. .. ... which I can set the agent of of the browser to P3650 Mozilla Firefox 4.0 (pretend as a Touch Cruise).
But how can I do it for the Opera Browser?
Thanks
It's in the file opera.ini located in Windows/Opera9
thanks, i found it.
But can't do what I want, server still able to identify my handset is Diamond which i don't want.
Does anyone of you have some suggestions?
Check in \application data\Opera9, there is an opera.ini too
Seb = = = o>°o
@Bandit13
\application data\Opera9 does not exist.
Is there anything in about:config or is that where the ini file already points to?
I managed to get my banking working by changing it in there and they pick up handset and browser type.
Don't know I'm just adding to the mix here!
yeah, go in opera:config, at the end in the section named "User Prefs" you can set a custom user-agent, or if you want to spoof it with a pc one, you can directly go in the section named User-Agent and you can choose which one you want to "spoof" (internet explorer, firefox...)
@ericsson68 and idsk
where can I found the files you mentioned?
and how should edit so that i can spoof it as firefox?
The one that i tried to edit opera.ini was "HTC_P3650 Mozilla/4.0 (Windows NT, 5.1; U; en)" ... but doesn't work though
How to modify User Agent in Opera Browser
Hi,
I've made a little illustrated tutorial in this thread : How to modify User Agent in Opera Browser
Except the fact that it's in french, I think it's very easy to understand with the screenshots ^^
Related
I have searched this forum and cannot find the answer to my question.
The default search engine in Opera 9.5 on my HTC Touch Diamond is google.com but I would like to change this to google.com.au as I like the option search Australian pages only.
I have gone thru all the settings and also looked in about:config but cannot see where the default search engine is set. Does anyone know how to set the default search engine ?
Thanks in advance.
Jeff
Hi Jeff,
If you are talking about the built-in search bar (below the address bar) then in the file /Windows/Opera9/locale/search.ini find the [Google] section and comment out (i.e. prefix with a ';' ) the line starting URL= and add your own to suit e.g. for your case
URL=http://www.google.com.au/search?&q=%s
(others can find their format by performing a search and substituting the search string with %s)
If you are referring to the default 'HTC Homepage' with the built-in search box then you'll find this file in /Windows/htc-opera.htm - you can edit the HTML in here to suit (e.g. I've changed by default search engine, to UK, and added a few of my own 'quick link' bookmarks that I use regularly).
Hope this helps, if not just shout.
Mathew
I didn't have the htc-opera file in /Windows but i found when i deleted the file in /Application Data/ Manilla that Opera via TF3D then defaulted to whatever i set my homepage too. I'd backup the file for safety though.
I should've pointed out that htc-opera is a system file hence you will have to have these viewable in whatever file explorer app you use. Also, you cannot edit the system file but you can copy it, edit it, and set the default start page to your new edited version.
Mathew
Could someone please post the original htc-opera.htm file?
It's missing from my Windows directory.
J.J.
Hi there
I need to make IE as a default browser in my HTC diamond. I have installed a medical software, that uses IE to display the data. At a moment, it runs Opera and unable to display the data correctly.
Please help. thanks
Yeah I have the same issue here. Need to get the IE as default browser. We developed a webbased tool at my work that just works with the Pocketpc IE browser. The Opera browser does not allow the files to be saved offline as we want.
Found several Registry changes online but non of them worked for me.
Maybe it works for you but if there is any other solution it would be more than welcome for me
Registry Path: HKCR\XXXX\DefaultIcon
Value: (Default)=browsres.dll,-6703
Registry Path: HKCR\XXXX\Shell\Open\Command
Value: (Default)=iexplore.exe %1
Remarks: "XXXX" can be "file" or "htmlfile".
Anyway, the first tweak is optional because it is only responsible for the file icon. The second tweak is the one that decides which application should open such file type.
Please check...
Registry Path: HKCR\YYYY
Value: (Default)=_htmlfile_Opera
Remarks: Where "YYYY" is any file extension, e.g. ".html", ".htm", etc. Change data value from "_htmlfile_Opera" to "htmlfile" in order to associate with the tweaks done earlier.
Credits to Vicott here: original post: http://www.ppcsg.com/index.php?showtopic=102040&st=100&p=749717&#entry749717
Click to expand...
Click to collapse
medspec said:
Hi there
I need to make IE as a default browser in my HTC diamond. I have installed a medical software, that uses IE to display the data. At a moment, it runs Opera and unable to display the data correctly.
Please help. thanks
Click to expand...
Click to collapse
Try this:
HKLM
Software
Microsoft
Shell
Rai
DEFBROWSER
Change 0 value to Internet Explorer
Change 1 value to "\windows\iexplore.exe"
I tried this on an older device and it worked. Not tried it on the Diamond though so please let me know if it does the trick!
All above methods are failed.
I have tried through a different way.
The default file association of html / htm files is towards operaL.exe file. What I did, I changed it to \Windows\Iexplore.exe file:%1 using Advanced Configuration or Registry. This resulted in a strange behavior of Windows Mobile 6.1 which I termed as a "BUG". Although I havent touched the icon part yet, when I click on any htm / html file, it opens pocket IE instead of Opera by default. But to my surprise, IE fails to recognize that the file is html. It doesnt display anything. And, when I changed the associations back to OperaL.exe, all files are displayed as normal.
I wanted to know is this strange behavior of windows mobile Pocket IE a bug or something else? Please guide....
I have tested the same on Windows mobile 2003 (old version). Clicking on any html / htm results in opening of IE normally and perfectly.
Please comment?
IE will become the default browser if you will remove flag at "Set Opera as default browser" (find it in Opera's menu-tools-settings-Misc.) and, then, SOFT RESET. (Tested in Opera 8.6.5)
This will set IE as the default browser: http://forum.xda-developers.com/showthread.php?t=419066
igoivo said:
IE will become the default browser if you will remove flag at "Set Opera as default browser" (find it in Opera's menu-tools-settings-Misc.) and, then, SOFT RESET. (Tested in Opera 8.6.5)
Click to expand...
Click to collapse
that option is not in the htc version of opera 9.5, you can only choose it to be default on a public bata version, instead of the htc one.
Ive installed the latest opera beta and used various aps to have the new version of the browser (not the one that came with the phone) launch from the touchflo3d menus. However, it still seems to be displaying the bookmarks from the old opera, when I edit bookmarks in the new beta they don't display on the browser touchflo tab.
For now, I copied the opera6.adr file from the beta 9.5 application data folder and overwrote the .adr file in the windows programs directory where the standard opera that came with the phone stores its files.
However, is there a registry edit or app that will allow me to edit the path to the bookmarks file that touchflo uses in its interface?
VistaVick said:
Ive installed the latest opera beta and used various aps to have the new version of the browser (not the one that came with the phone) launch from the touchflo3d menus. However, it still seems to be displaying the bookmarks from the old opera, when I edit bookmarks in the new beta they don't display on the browser touchflo tab.
For now, I copied the opera6.adr file from the beta 9.5 application data folder and overwrote the .adr file in the windows programs directory where the standard opera that came with the phone stores its files.
However, is there a registry edit or app that will allow me to edit the path to the bookmarks file that touchflo uses in its interface?
Click to expand...
Click to collapse
I have a similar problem. How can someone replace the link in the touchflo tab of internet in order to point to a different browser and not the standard coming with HTC TD?
THANXX
anybody? I am having the same problem
Hi!
I had this problem and eventually found that it is hard-coded in one of the LUA scripts. Sorry, don't know which one from memory. I tried decompiling this script, but I could not get it compliled again - even without changing a character.
So I'm sorry to say that you can't do it that way.
There IS however something you can try:
Open Opera and type opera:config in the title bar.
Under "Saved Settings" and "User Prefs" there's a bunch of paths you can modify.
You might try the "Opera Directory" path under "User Prefs".
Hope this helps.
From a quick look at the first-boot-scripts it seems that the opera6.adr file is placed eventually in \windows\opera9\opera6.adr.
The default bookmarks are cooked in in a file \windows\_opera6.adr and when you first turn on your phone it copies / moves the file to \windows\opera9\opera6.adr. The path also comes up while searching through several _manila files so that also seems to be the location where TouchFlo is looking for the bookmarks.
If you want that Internet tab to be integrated with _another_ browser you have a lot of Decompiling, recompiling, editing of LUA code and hex-editing work to.
Changing browser to point to Opera Mobile 9.5 beta
Someone else posted this & I copied into a Word doc, so I apologize for not giving proper credit:
All you need to do is to modify a file named “InternetPortal-en-US.xml” which is located in \Application Data\Manila. Use the freeware application Total Commander to navigate to this file and once you locate it press the pen/paper icon on the bottom of the page and that will open the file on the screen so you can edit it. Just so everyone knows, we’re not tweaking the registry here. I’m just using Total Commander because it is more powerful than File Explorer so don’t be afraid of it
Ok, once the file is open in Total Commander just add one of the following lines after the line <InternetPortal> which is towards the top:
Opera is:
<BrowserExe>\Windows\OperaL.exe</BrowserExe>
mobile\OperaL.exe</BrowserExe>
Internet Explorer is:
<BrowserExe>\Windows\iexplore.exe</BrowserExe>
SkyFire is:
<BrowserExe>\program files\skyfire\skyfire.exe</BrowserExe>
Iris is:
<BrowserExe>\program files\iris browser\irisbrowser.exe</BrowserExe>
I installed Opera Mobile 9.5 beta to my storage card, so my new path is:
<BrowserExe>\storage card\program files\opera
*Note if you can't save your changes - make sure that the file isn't set on "read only" (click the hand holding the paper icon and uncheck the "read only" box. You may have to click twice to remove the setting)
Yeah I do not see that file anywhere
I have the Sprint branded HTC Diamond and the \Application Data\Manila folder does not exist, I am using Total Commander.
lissa8869 said:
Someone else posted this & I copied into a Word doc, so I apologize for not giving proper credit:
All you need to do is to modify a file named “InternetPortal-en-US.xml” which is located in \Application Data\Manila. Use the freeware application Total Commander to navigate to this file and once you locate it press the pen/paper icon on the bottom of the page and that will open the file on the screen so you can edit it. Just so everyone knows, we’re not tweaking the registry here. I’m just using Total Commander because it is more powerful than File Explorer so don’t be afraid of it
Ok, once the file is open in Total Commander just add one of the following lines after the line <InternetPortal> which is towards the top:
Opera is:
<BrowserExe>\Windows\OperaL.exe</BrowserExe>
mobile\OperaL.exe</BrowserExe>
Internet Explorer is:
<BrowserExe>\Windows\iexplore.exe</BrowserExe>
SkyFire is:
<BrowserExe>\program files\skyfire\skyfire.exe</BrowserExe>
Iris is:
<BrowserExe>\program files\iris browser\irisbrowser.exe</BrowserExe>
I installed Opera Mobile 9.5 beta to my storage card, so my new path is:
<BrowserExe>\storage card\program files\opera
*Note if you can't save your changes - make sure that the file isn't set on "read only" (click the hand holding the paper icon and uncheck the "read only" box. You may have to click twice to remove the setting)
Click to expand...
Click to collapse
I saw this as a solution to make 9.5 default if you lose 9.5 as the default browser. Are you saying if I upgraded to 9.7 beta, this process will make my 9.7 bookmarks the bookmarks in the TF3D internet tab?
due to issues with the stock browser with heavy sites (try e.g. repubblica.it faulty scrolling, zoom etc..)opera11 is a very good alternative but it needs some mods:
1-disabling splashscreen!!
2-when open going directly to "google.com" skipping the opera starting page....
3-must changing the default user agent from opera to android original u.a.
any xda hacker can do these mods??
thx
I don't know about the first 2, but changing the user agent is rather easy.
1. Type "about:config" in the address bar
2. go to "user prefs"
3. look for "custom user agent"
4. paste "Opera/9.80 (Windows NT 6.0; U; en) Presto/2.8.99 Version/11.10" or any other user Agent string you want
5. click "save changes" and restart
BTW i think this is the wrong section
See here
dude, why this crap is even here? dont u read about the statement from AllGamer above? i hope mod will see this and do something about it.
I am using Opera Mobile on a rooted Nook Simple Touch. I want to force Mobile view (it's better for e-ink) but in the settings dialog the only options are "Tablet" and "Desktop"
What custom user agent string should I use in opera:config?
We recently added a custom opera:config setting to the desktop version called "Custom User-Agent" under "User Prefs". I notice that this is also available on Opera Mobile for Android, so you could give it a try.
For a list of known userangent strings, try a Google search for "opera mobile 12 useragent string". The first search result I get is from "myip.ms", which seems to show real ones (for both Android and Symbian).
Be careful, though. A broken useragent string could cause serious compatibility issues.
I think this should do it.
It took me too long to figure it out, so here it is.
I went to whatsmyuseragent.com and copied the user agent string.
Code:
Opera/9.80 (Android 2.1; Linux; Opera Tablet/ADR-1207201819; U; en) Presto/2.10.254 Version/12.00
Guessing it should be...
Code:
Opera/9.80 (Android 2.1; Linux; Opera Mobi/ADR-1207201819; U; en) Presto/2.10.254 Version/12.00
I pasted in the modified "Tablet" to "Mobi" string in "Custom User-Agent string" in the "User Prefs" section. Which is not to be confused with "User Agent Spoof" in the "User Agent" section. The dash is key.
And, no restart is required. engadget.com now redirects to m.engadget.com.