![]() |
Is it possible to modify Opera settings files?
Opera usually use pretty much the same setup on all platforms, so i was hoping i could add a urlfilter.ini file in order to remove all ads when browsing.
I've got xterm installed on my N800, and found opera.ini, but can't view it... I could copy it to user directory, but i don't have any application that will view it. I also tried to copy it to SD, but it's not possible to write files to SD? (just getting write errors - write protection is off) Any suggestions? Also: I created some folders on the SD-card. Two of them shows up normal - the others shows up as files, with date 01.01.1970!? Not possible to open... What is that supposed to mean? Works fine on windows... |
Re: Is it possible to modify Opera settings files?
Quote:
vi ./.opera/opera.ini at the command prompt. If you just want to view it without editing, use more: more ./.opera/opera.ini 2. If you find vi a bit daunting (that would make at least 2 of us), copy opera.ini to the "Documents" directory (which is visible from the file manager). If you give the copy a .txt extension, you'll be able to open and edit it in Notes: cp ./.opera/opera.ini ./MyDocs/.documents/operaini.txt When you've made the changes you want, make sure that Opera is closed and copy the results back: cp -f ./MyDocs/.documents/operaini.txt ./.opera/opera.ini If for any reason Opera doesn't work properly, delete the amended ini file: rm ./.opera/opera.ini and start Opera again. As I'm sure you know, Opera is supposed to create a new default ini file. I've never had occasion to see whether this is true or not. Bon courage, Art |
Re: Is it possible to modify Opera settings files?
Another way to improve on the ads situation is to install privoxy (available from maemo) and configure a network setup with proxy enabled (it's per network configuration so I have 2 for the same network - one with, one without). The proxy setting is host 127.0.0.1 port 8118.
I use this when browsing sites that are otherwise unreadable for ad junk (moving banners and whatnot). It appears to be slightly slower, which is probably because of the extra indirection etc. But not so much that it matters. However, I wish the Opera browser also had a proxy setup, then one could set up "global" proxy rules, i.e. use proxy with these sites, don't use proxy with those other sites, the usual. Keeping the current proxy-setting-per-network-config options too, of course. But as the network config proxy option isn't very useful for open hotspots as you normally don't save a config for these, an Opera option had been even more useful. |
Re: Is it possible to modify Opera settings files?
Thanks for your replies. I don't know what was wrong with the memory card yesterday, but suddenly it started working again, and i was able to browse all diretories, and copy opera.ini over to the card for editing on the PC. Unfortunately, theres nothing about urlfilter.ini in the config file, and adding it did not work. I guess i'll have to contact Opera in order to find out whether or not urfilter.ini is supported on the Maemo version.
For those who don't know Opera for PC, urlfilter.ini is the file that contain a list of allowed url's (*) and "banned" (ads.server.com, server2.com/ads and so on). TA-t3: Regarding proxies, there are some settings related to it in the config file: Code:
[Proxy] |
Re: Is it possible to modify Opera settings files?
Thanks, that's interesting. I didn't check the config file, I only looked for options in the Opera menu (there doesn't seem to be any).
Will experiment with this. |
Re: Is it possible to modify Opera settings files?
Thanks for the mini-tutorial artkavanagh :)
Another setting that looks promising regarding the GeeZuZz request is... Quote:
Quote:
The setting I am most interested in playing with is... Quote:
It is very possible that the reason Opera can not access Google Docs web apps is because their server wont allow it. Spoofing their server with a different ID may accomplish this :) The complete ini file... Quote:
|
Re: Is it possible to modify Opera settings files?
I checked the user-agent story already (another thread), this is not enough to get Google docs running, unfortunately.
|
Re: Is it possible to modify Opera settings files?
Quote:
I have had success with a desktop Opera browser >>http://www.internettablettalk.com/fo...7168#post37168 BTW, could you please point to the thread you speak of. It's not that I'm lazy. It's just seems a whole lot more efficient that way. :) |
Re: Is it possible to modify Opera settings files?
You can try this on your N800 yourself. This is how I did it (I didn't touch the opera config file, but that could work as well, but presumably for all sites instead of specific ones):
- Install privoxy - Set up a network config version that uses proxy (127.0.0.1 port 8118) - Append the following three lines to /etc/privoxy/user.action: {+hide-user-agent{Mozilla/5.0 (X11; U; Linux i686; rv:1.8.1.1) Gecko/20061205}} .google.com www.showmyip.com (it doesn't have to be _exactly_ that user-agent, I just used what www.showmyip.com showed me when I pointed my desktop Firefox to it) - Do /etc/init.d/privoxy stop - Do /etc/init.d/privoxy start - Test your setup by pointing the N800 to www.showmyip.com, the user-agent is down there somewhere. - If it looks ok, start testing google apps. (Obviously some of the steps above have to be done as root) |
Re: Is it possible to modify Opera settings files?
Ah, "I see" said the blind man...
I was hoping for info on the values associated with this >> Quote:
I also see by the link you posted in another thread >> http://maemo.org/maemowiki/WebAppsOnIT That Google Docs and Spreadsheet apps are not reported... Ajax for the calender app is broken but calenders are a dime a dozen (really). I have a bunch of devices that provide various ways to record and remind me of events... yet I'm still late for my dentist appointments. :D The Docs and Spreadsheets apps are new and are of more interest to folks who may have simple editing to do and are looking for a way to leave the desktop and work on the office or campus quad without having to drag out a lappy. Particularly on one of the soon to come, sunny days of spring... There are others who can't log on to brokerage or banking accounts simply because the server doesn't recognize the browser. Once a value is known, a simple script or vi edit may help them justify the expense of the N800. |
All times are GMT. The time now is 21:41. |
vBulletin® Version 3.8.8