How Do I Add User Agents to Opera?
-
Deleted User last edited by
I got Opera 12 and found a list of user agent strings that I'd like to add to Opera. How do I add a user agents to Opera?
-
stng last edited by
-
Use and edit override.ini (you can find it in your Opera's profile path)
The example of editing for setting a custom user-agent for specified web-sites: http://www.reddit.com/r/operabrowser/comments/2ivkg4/opera_12_versus_youtube_how_to_fix_broken/ -
Use pathed opera.dll (offtopic here) for proper User-Agent strings. You will be able to set UAs without editing the override.ini.
-
DO NOT USE the opera:config#Custom User-Agent option (global masking, via opera:config). It can cause unforeseen problems with a web-sites!
-
-
Deleted User last edited by
Use and edit override.ini (you can find it in your Opera's profile path)
The example of editing for setting a custom user-agent for specified web-sites: http://www.reddit.com/r/operabrowser/comments/2ivkg4/opera12versusyoutubehowtofix_broken/
Use pathed opera.dll (offtopic here) for proper User-Agent strings. You will be able to set UAs without editing the override.ini.
DO NOT USE the opera:config#Custom User-Agent option (global masking, via opera:config). It can cause unforeseen problems with a web-sites!Hi, stng.. I'm a bit confused. I cant find a "patched opera.dll" file. But, I found "opera.dll". When I open it, theres a bunch of symbols.
Then in part 1 of your reply, you said to edit override.ini. But then in part 2 of your reply, you said I can edit opera.dll without editing override.ini. Are parts 1 and 2 of your reply just 2 ways of solving this problem? Or are they steps?
Looking forward to hearing from you.
-
A Former User last edited by
The available default user-agent strings are "hard coded" into the opera.dll file, and cannot easily be changed.
It is possible to edit them with a hex editor if you know what you're doing, and the result would be a "patched opera.dll" file.
I'm not aware that there are any suitably patched opera.dll files available anywhere however.
If you don't want to get into that sort of thing, the easiest way to customise user-agents is to edit override.ini, which will not change things globally, but can change it for the specific sites that are giving problems, which is all you really need to do.
-
Deleted User last edited by
The available default user-agent strings are "hard coded" into the opera.dll file, and cannot easily be changed.
It is possible to edit them with a hex editor if you know what you're doing, and the result would be a "patched opera.dll" file.
I'm not aware that there are any suitably patched opera.dll files available anywhere however.
If you don't want to get into that sort of thing, the easiest way to customise user-agents is to edit override.ini, which will not change things globally, but can change it for the specific sites that are giving problems, which is all you really need to do.Hi, davehawley... Yes, I'll be using the override.ini to make changes. Thanks.
I got another question.. Is it possible to transfer all Opera files to another computer without installing a fresh new Opera version? For example, I got 2 laptops. One with Opera 11 and another with Opera 12. I want to transfer Opera 12 files to the laptop with Opera 11 to replace it without installing a new version. I want to do this because if I install a new version over the old version, it'll take me forever to configure all my personal settings. Let me know if this is possible. Thank you!
-
A Former User last edited by
If the Opera installations are single user all the files should be in the same folder, so it should just be a matter of temporarily renaming the Opera 11 folder to disable it (to "Opera.old" for instance) and then copying the Opera 12 folder from the other machine to the same place.
Opera doesn't use the registry to store settings, and the paths that are in the registry will remain the same if the folder names are the same.
Once you're happy that Opera 12 is running OK on the machine you can delete the Opera.old folder.
If you have Opera configured for multiple users, it's a bit more complicated as the profile will be stored in the Windows user Application Data folder.
The principle is still the same, just rename the original folder for safely, and copy its equivalent over from the other machine to the same place.
You can find where the folders actually are by looking at Help>About Opera.
-
Deleted User last edited by
If the Opera installations are single user all the files should be in the same folder, so it should just be a matter of temporarily renaming the Opera 11 folder to disable it (to "Opera.old" for instance) and then copying the Opera 12 folder from the other machine to the same place.
Opera doesn't use the registry to store settings, and the paths that are in the registry will remain the same if the folder names are the same.
Once you're happy that Opera 12 is running OK on the machine you can delete the Opera.old folder.
If you have Opera configured for multiple users, it's a bit more complicated as the profile will be stored in the Windows user Application Data folder.
The principle is still the same, just rename the original folder for safely, and copy its equivalent over from the other machine to the same place.
You can find where the folders actually are by looking at Help>About Opera.Thankd again for the help, man. Appreciate it greatly.
-
lem729 last edited by
For those using Opera 25, there's this extension: User-Agent Switcher. With it, you can easily change user agents.
https://addons.opera.com/en/extensions/details/user-agent-switcher/