Ad blocking with opera mobile 9.5 ??? - Windows Mobile Development and Hacking General

I'm trying to figure out a way to block ads in Opera mobile. I've read on the internet that you can use a file called urlfilter.ini in the desktop version of Opera.
Does anyone know if there is a similar functionality in the mobile version?

Yes, there is. I've also found a site that offers a pre-made ad-blocking list for this very purpose.
A mortscript can be used to update your adblocking every so often:
Code:
Download("http://fanboy.co.nz/adblock/opera/urlfilter.ini", "\Application Data\Opera 9.5\urlfilter.ini")
Download("http://fanboy.co.nz/adblock/opera/fanboy-adblocklist-elements.css", "\Application Data\Opera 9.5\styles\user.css")
(Note, haven't tried this with the very latest Opera build - the paths might need tweaking)

It would be great if someone can post the latest and updated urlfilter.ini file. As I understand, all the urls listed there would be automatically blocked, one the file has been copied to \Your_Path_to\Opera 9.5\ .... Yes?

Great stuff, can someone explain how to use this in opera. Where do I put the file, etc???

You can put it where you want! Just go to opera:config and search for "filter".

I have read on one of those sites that having a big urlfilter.ini would slow down Opera boot time and loading of sites. I haven't tested this myself but it might be good to know.

a better urlfilter.ini (just like adblock plus in firefox):
http://adnsto.net/other/urlfilter.ini

TrYde said:
I have read on one of those sites that having a big urlfilter.ini would slow down Opera boot time and loading of sites. I haven't tested this myself but it might be good to know.
Click to expand...
Click to collapse
this was the first thought that came to my mind, and it seems logical too because opera would have to parse through all the urls in the list everytime you press on a link. think how horribly long that could become.
if i remember correctly in opera:config there should be an option there to block unrequested popups.

Here's a request I've just made to developers, please take a look:
http://forum.xda-developers.com/showpost.php?p=2876201&postcount=10

Related

Tutorial: How to create a shortcut to a specific midlet

I asked a few days back if this was possible and ended up e-mailing back and forth with a guy at TAO and he showed me how to do it after we figured out that the wizards java manager could handle it.
This is what he told me (I'll explain it all afterwards):
-r"<suite>","<vendor>","<name>"
where:
<suite> is the name of the MIDlet suite and can be obtained from the
MIDlet-Name line in the jad file.
<vendor> is the name of the MIDlet vendor and can be obtained from the
MIDlet-Vendor line in the jad file.
<name> is the name of the MIDlet and can be obtained from the first
parameter to the relevant MIDlet-<n> line in the jad file.
the shortcut to the manager program is \windows\jmm.exe, so a specific link would be \windows\jmm.exe -r"<suite>","<vendor>","<name>"
To find all of the information you need, you need the .jar or .jad file on your computer.
1. Open the .jar(.jad) file with winrar or 7zip or other unzipping program
2. Open the META-INF folder
3. Open the MANIFEST.MF file with a document viewer, I used wordpad.
Here's what google local gave me: I've bolded what you need to know
Manifest-Version: 1.0
MicroEdition-Configuration: CLDC-1.0
MIDlet-Name: Google Local
Created-By: 1.5.0_04-b05 (Sun Microsystems Inc.)
Ant-Version: Apache Ant 1.6.2
MIDlet-Vendor: Google
MIDlet-1: Google Local, GoogleMapsIcon.png, com.google.googlenav.Googl
eNav
MIDlet-Version: 1.0.0
MicroEdition-Profile: MIDP-2.0
4. Create a shortcut to the java manager(\windows\jmm.exe) on your ppc and open it for editing. I used Total Commander for this.
5. Remember that the shortcut has to be in -r"<MIDlet-1>","<MIDlet-Vendor>","<MIDlet-name>", so here, the full path should be \Windows\jmm.exe -r"Google Local","Google","Google Local"
6. Now you can link that to a button or put it in a launcher. When activated, the link will open the manager first, then the midlet.
Opera mini is \Windows\jmm.exe -r"Opera Mini","Opera Software ASA","Opera Mini"
I dont know how to link icons, so if someone could help me with that, I'd appreciate it. Now, all the links have the MIDlet manager icon.
I'd also love to hear what other cool midlets people are using.
Excellent information! Now I can link to Google Local from my Today screen with Pocket Plus!
Brilliant! I was looking for this exact information . Checked around on the Tao site but didn't find any documentation.
Changing the icon is done by adding the following to the end of the shortcut:
?\Program Files\Opera\opera.exe,0
The number is the n'th icon in the .exe file find out which using a resource hack tool. But it's usually 0 or one of the first ones, so simply try it out a few times. The two midlets I have come with their own icon displayed in the manager, and I found this file as a PNG image inside the Application Data directory, under Tao and then ever deeper down you'll find it.
But using png as icon didn't work for me. I'm guessing it needs to be converted to ICO or even BMP. Haven't had time to try that out yet.
And for the last part of your post, these are the cool midlets I'm using
Opera Mini - http://opera.mini.com (You obviously know this one)
MidpSSH - http://xk72.com/midpssh (Excellent freeware SSH client)
works with newmenu by saman as well thanks for the tip.
btw any more cool midlets for ppcs? the only thing i have so far is opera :|
I noticed the shortcut only works if you've run the applet atleast once. Otherwise only Midlet Manager opens up. Not really a big deal though
Question?
Is there a way to do this with IBM's Java Midlet Manager. I tried the syntax listed here and it doesn't work. It opens up the midelet manager, then closes right away.
BTW, this thing is case sensitive. I tried GMail and it didn't work.
This is for Gmail. Copy paste and enjoy.
46#"\Windows\jmm.exe" -r"Gmail", "Google", "Gmail"
Tokay said:
Brilliant! I was looking for this exact information . Checked around on the Tao site but didn't find any documentation.
Changing the icon is done by adding the following to the end of the shortcut:
?\Program Files\Opera\opera.exe,0
Click to expand...
Click to collapse
It would seem that you need to have opera mobile installed for this to work though right?
KINetics said:
Is there a way to do this with IBM's Java Midlet Manager. I tried the syntax listed here and it doesn't work. It opens up the midelet manager, then closes right away.
Click to expand...
Click to collapse
Did you ever figure this out? I'd like to know how to get it to work.
Anyone managed to do this on esmertec's java manager because this does NOT work:
"\Windows\jeodek.exe" -r"Gmail", "Google", "Gmail"
Paladin27 said:
Excellent information! Now I can link to Google Local from my Today screen with Pocket Plus!
Click to expand...
Click to collapse
why didn't you just install the cab file then? you can find it if you type gmm.cab in google.
famewolf said:
Anyone managed to do this on esmertec's java manager because this does NOT work:
"\Windows\jeodek.exe" -r"Gmail", "Google", "Gmail"
Click to expand...
Click to collapse
The answer to your question is HERE
You have to thank the author of the article and the great Menneisyys for posting the link in this post
Bye
(Hopefully) final MIDlet Bible main feature & hack & standards compliance chart published!
It was yesterday that I’ve published a larger excerpt from my forthcoming MIDlet Bible (a full roundup & tutorial explaining what MIDlets are, why you would want to run them, what applications there are to do this etc.), focusing on mostly 3D games. I haven’t been lazy in the meantime: I’ve made some serious updates to the main feature & hack & standards compliance chart of the Bible. The reason I’m posting it as a preview is pretty simple: it will still take me some two or three days to completely finish and, finally, publish the MIDlet Bible. In the meantime, however, you can already check out the new chart. I’m absolutely sure you’ll find it useful if you’re into gaming or running probably the, after Opera Mobile, second best Web Browser for Windows Mobile, Opera Mini 4 beta 2. Or, alternatively, the really unique and useful Gmail MIDlet, which is far more usable than any other Windows Mobile mailer tool.
I’ve, as has already been stated, greatly enhanced the previous version published over a month ago. I’ve added discussions of ClearType / font smoothing, automatic network connection, proxies, text input fields / areas etc. and I’ve even published the source code (!) of some of my test MIDlets I’ve written specifically for these tests. (I’m a Java pro.)
The chart is HERE, should you want to check it out before I, finally, publish the MIDlet Bible.
Comments are REALLY welcome!
Try this:
60#"\Windows\jmm.exe" -r"Opera Mini","Opera Software ASA","Opera Mini"
my opera mini link works great using jbed and the permissions fix, BUT...
I want to know if it is possible to make a link to a page (favorite/speedial #1) within opera. I have some shortcuts for PIE (default browser) on my today screen and wondered if I could do the same with opera pages without opera being my default browser. I have seen some shortcut creators that look interesting, but I am not sure about what path this link would need.
Any ideas?
thanks
my opera mini link works great using jbed and the permissions fix, BUT...
Click to expand...
Click to collapse
I can't get my Opera link to work using jbed, where do you get the permissions fix... maybe that's my problem?
I'm using:
60#"\Windows\jbed.exe" -r"Opera Mini","Opera Software ASA","Opera Mini"
jbed permissions fix is at the bottom of this page...
http://pdaphonehome.com/forums/ppc-...ed-includes-info-new-java-midlet-manager.html
Does anyone have this working with the ne Opera Mini 4.1? Latest Jbed.
hey can someone turn this into english for me haha sorry. i wanna get opera 4.1 shortcut into launcher. im not good at this stuff unless there is a step by step for dummies
I downloaded the latest 4.1 and it works great... Because I downloaded the new version before I deleted the previous version, I had to change my shortcut to point to r1 not r0. The new version has permissions fix already added I believe.
Everything is working brilliantly

cant select links in wap

hey folks,
i've come accross a pretty annoying bug i think. when i open a wap webpage with pocket ie i cant jump from link to link with the dpad or the scroll wheel. it just scrolls down the webpage. this means i always have to pull out the pen when i surf on wap pages which is kind of annoying. on regular html pages i dont have any problems selecting links via the dpad or the scroll wheel.
oh, and before the hermes i had an mda2 running wm05 and it also worked perfect there.
am i the only one with this problem? are there any sollutions?
i tried searching the forum but couldnt find anything.
greets
4saken
am I really the only one with this problem? or is everyone having this problem and there ist just no solution?
Yeah, it's something I've noticed too. Really odd. Opera Mobile handles links in WAP pages fine though, you can scroll through links with the scroll wheel and d-pad just like web pages with it.
_4saken_ said:
am I really the only one with this problem? or is everyone having this problem and there ist just no solution?
Click to expand...
Click to collapse
I just tried mine. Cant remember last time I was at a Wap site.
Anyway I had no problems both Scroll and DPad scrolled down each and every link.
I don't suppose you have changed any settings in the likes of Tweaks2k2 to do with smooth scrolling. (Although even if you had I would have thought it would change regular sites also)
Mike
mikechannon said:
I just tried mine. Cant remember last time I was at a Wap site.
Anyway I had no problems both Scroll and DPad scrolled down each and every link.
I don't suppose you have changed any settings in the likes of Tweaks2k2 to do with smooth scrolling. (Although even if you had I would have thought it would change regular sites also)
Mike
Click to expand...
Click to collapse
The BBC Mobile (PDA) page has some links to WAP pages (the Video Headlines is currently only available inside the UK, but it's nothing you can't already watch online via Ben Metcalfe's BBC News AV Flattener site (a VERY cool work in progress). However, you can load some of the other WAP links, I use it to test connectivity if I'm in a situation where I need to... URL: http://www.bbc.co.uk/mobile/pda/
Ben Metcalfe's site: http://bbcnews.benmetcalfe.com/ (there's no pretty interface yet, you just load the html files up inside the directory listing, they're regenerated every so often automatically by PHP script and cronjob).
christopherwoods said:
The BBC Mobile (PDA) page has some links to WAP pages (the Video Headlines is currently only available inside the UK, but it's nothing you can't already watch online via Ben Metcalfe's BBC News AV Flattener site (a VERY cool work in progress). However, you can load some of the other WAP links, I use it to test connectivity if I'm in a situation where I need to... URL: http://www.bbc.co.uk/mobile/pda/
Ben Metcalfe's site: http://bbcnews.benmetcalfe.com/ (there's no pretty interface yet, you just load the html files up inside the directory listing, they're regenerated every so often automatically by PHP script and cronjob).
Click to expand...
Click to collapse
Yeah, I'll have a look at these - not bothered about pretty interface particularly as I often use GPRS with no special tariff (reeeeely expensive) but I don't seem to have the problem of not being able to scroll to the links so it appears either I or you and 4saken have changed.
I didnt change anything in the registry. I had this problem both with the original german rom from o2 and now with the newest english htc rom.
The ability to scroll through links on a page is limited to web pages only, Pocket IE's ability to scroll WSP:// protocol pages is, by default, restricted to only scrolling up and down the page.
To be honest, I'll just bop a link with my finger if I want to load it, it's not that hard and I prefer smooth scrolling up and down a page anyway (I read a lot of long articles on sites such as The Register and the browser screen constantly diving from left to right, jumping down huge amounts to the next link really bugs me). You must have some kind of addon or third-party application which reintroduces the ability to scroll through links in wap pages, because by default that's not possible.

offline browser for wm5/6

i need a "offline browser", which downloads whole news pages to read that afterwards offline with ie mobile.
the sunnysoft world off-line is what i looking for
http://www.sunnysoft.com/software.php?idarticle=98
but, this tool is not working properly. i test this software with following url
http://heise-online.mobi/
he downloads only the first page, but not the content of each link.
however, if someone use a other software, please report this here.
note: i prefer freeware, but i ready to use/pay for a commercial software.
komser said:
i need a "offline browser", which downloads whole news pages to read that afterwards offline with ie mobile.
the sunnysoft world off-line is what i looking for
http://www.sunnysoft.com/software.php?idarticle=98
but, this tool is not working properly. i test this software with following url
http://heise-online.mobi/
he downloads only the first page, but not the content of each link.
however, if someone use a other software, please report this here.
note: i prefer freeware, but i ready to use/pay for a commercial software.
Click to expand...
Click to collapse
Hmmmm... Check your settings on WOL, that site should work. If for some reason it doesn't, you can try Avantgo. Also, pages with RSS feeds can use SPB Insight.
First of all, you'd be better off posting a general question like this here:
http://forum.xda-developers.com/showthread.php?t=398571
instead of opening a new tread...
As for the browser - use Opera Mini (freeware). In case you don't know it - it's not really a WM5 program but a java midlet but with proper java VM (like jbed) it's probably the fastest browser available for this platform (and saves your bandwidth thanks to server-side content compression).
It can save pages for offline viewing: the option to do this in menu/tools/save page. Saved pages can be accessed from browser's start page.
[EDIT]
Sorry, didn't notice that you want the link targets saved as well. Opera mini saves only the page you're viewing but doesn't save linked pages. I haven't heard of any WM software that could do that.
I think the easiest way would be to download pages to the PC and transfer them to your device afterwards.
[/EDIT]
Have you tried avantgo?

Opera 9.5 Build 1957 WWE & Fr

Hi there,
I've extracted this build from Omnia rom posted here: http://forum.xda-developers.com/showthread.php?p=2623503
Cab updated
if you have "the specified module could not be found" at startup, re-download cab here, those now include ImmVibe.dll.
Install into main memory:
http://rapidshare.com/files/144273883/OBX-Opera_9.5.Build1957.WWE.cab.zip.html
Hardcoded intro Storage card:
http://rapidshare.com/files/144274089/OBX-Opera_9.5.Build1957.UC.SD.WWE.cab.zip.html
Hardcoded intro Carte de stockage (french language):
http://rapidshare.com/files/144274261/OBX-Opera_9.5.Build1957.UC.SD.FR.cab.zip.html
Enjoy ;o)
----------------- Install ---------------------------------------------------------------------
if you have previous opera, be sure to uninstall it, and delete every file and Reg as this build changed a lot compare to usual update, the default Opera9 folder is now expected to be in Application Data, where previous use to be in windows, the skin and other file changed also, and Opera seem to be very sensitive...it didn't worked for me at first try... so Clean your previous opera before install... ;o)
----------------- User Agent Modif -----------------------------------------------------------
Well this build have some default value coded to Samsung i900, but chance, we can override them via register:
[HKEY_LOCAL_MACHINE\Software\Opera\UA]
"UAMode"=dword:00000001 0: Mobile 1 : Desktop (control by the setting/advanced in opera)
"User Agent"="SAMSUNG-SGH-i900/1.0 Opera 9.5" ---> this is the user agent when identify as mobile
"UAD"="SAMSUNG-SGH-i900/1.0 (Windows NT 5.1; U; en)" ---> this is the user agent when identify as DESKTOP
When set to identify as Desktop, if Opera don't find "UAD" key, it will send "SAMSUNG-SGH-i900/1.0 (Windows NT 5.1; U; en)" as user agent so to change this, create the UAD key and set it to whatever string you want.
now, in OPERA, go to setting/advanced, and choice identify as desktop.
paste this into url (whitout http
javascript:alert(navigator.userAgent)
You should see the string value of the "UAD" key
here the .reg to identify as IE7 browser....
[HKEY_LOCAL_MACHINE\Software\Opera\UA]
"UAD"="Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)"
"User Agent"="HTC/1.0 Opera 9.5"
Thanks! Testing now....
not working for me, just flash over to new rom, so everything was clean, goes from the startup scrren it then goes to "the specified module could not be found"
Error message title is OperaL if that helps at all.
missing module...
It's seem like Opera use Vibetonz (vibration feedback)... can you try with ImmVibe.dll into you windows folder:
forgot to compress thee .dll
here ImmVibe.dll
it's linked to other vibe's dll, not sure we need them all, so try with ImmVibe.dll only
obalix said:
here ImmVibe.dll
it's linked to other vibe's dll, not sure we need them all, so try with ImmVibe.dll only
Click to expand...
Click to collapse
Loads now, and works on my touch! thanks. More opiton's in the settings menu, flash works, cool skin. Fast scrolling. Still playing with it. Are you going to update the cab's?
its working on my tytn too like the zooming option and seems to be faster...Well, my tytn is lagging less than it did with 1938 build...but the touch naviation seems to be less smooth..any words on that?
links dead?
thanks, it seems like this version has some more advance features and everything so this is a big thank you for me, i am testing flash on it now
Flash works with this build has well, works good, and no need for that nullkb, you are able to scroll just fine on youtube without anything poping up.
rapidshare links dead, reupload plz
Nice.
Thanks for sharing...
Rapidshare Link​
AllTheWay said:
Nice.
Thanks for sharing...
Rapidshare Link​
Click to expand...
Click to collapse
how about uploading to 4shared? less waiting time
Wow if you press and hold on the middle of the right side. A zooming option pops up like in the google andriod browser.
Ok I downloaded this version and it seems to be way faster taht the 1938 build, however I have 2 problems.
1. This browser still does nto recognize the HTC XT9 keyboard
2. I cannot stream videos...youtube doesnt work. when i click to watch a video the streaming media player opens on my touch but i get an error stating "failed to find network".
any ideas????
daitienshi said:
how about uploading to 4shared? less waiting time
Click to expand...
Click to collapse
OK there ya go.
http://www.4shared.com/file/62548637/d1373f95/OBX-Opera_95Build1957UCSDWWE.html
AllTheWay said:
OK there ya go.
http://www.4shared.com/file/62548637/d1373f95/OBX-Opera_95Build1957UCSDWWE.html
Click to expand...
Click to collapse
Thanks! I'll give it a try now
For your XT9 keyboard, i have no idear... i tried to keep the install as close as possible to the omnia setup. You may look at an older build which worked fine, check the opera.ini file, there is probably some key there you have to copy them into your current opera.ini file and file to the proper folder.
About streaming media player, it's not related to opera i think, i got same trouble, but it's a bug or something in streaming media player, if you use activesync to connect to the internet, it doesn't work, try when you are connected over wifi, it should be fine...
good luck
youtube isnt working..
no video shows up
the keyboard is not a big deal cause it will get ironed out in the future..as for using wifi lol i dont have that feature
youtube works perfect for me, and better then 1938 ever did.

UpToDate fix with Full working Internet Explorer 6

Hi,
This is my first post and hopefully it may be helpful.
I have created a nice solution in order to run both UpToDate and Internet Explorer 6.
This solution was originally posted in this thread, but as long as this may not be visible, I have started a new thread
What you will NOT need
1) You will not need Fix UpToDate by doctorcete.cab
2) You will not need to cook your own rom
What you will need
1) Fix IE.cab
2) The files, which are attached at the end of this post.
Instructions
There are 2 different versions.
Version 1 - Best - If you use MortScript
1) Use the two .mscr files.
2) Each of those files contains a registry modification and after that it executes Uptodate or IE respectively.
Be careful: If you installed UpToDate in a different location than the default you should manually open and edit the file UpToDate.mscr and replace "\Program Files\UpToDate" with your installation pathway. (You can use Notepad to open the file)
3) You can use these files to launch the applications instead of the default shortcuts.
2nd version - If you do not use Mortscript
1) Use the 2 reg files
2) Before opening each application, run the corresponding .reg script
3) Files are universal independent on your installation location. Therefore no change is required.
I hope you enjoy.
Step2p
I can only launch it trhough mortscript then, not the default shorcuts right? or am I missing something?
@doctorcete
You should build new shortcuts pointing to mscr files.
If you want to have also the correct image on those shortcuts, you can download the file attached.
UpToDate shortcut will only work if it is installed in the default location (/Program Files/UpToDate)
If you have another installation location, you should manually edit the shortcut and fix it accordingly.
EDIT: If you want to use these shortcuts place the mscr files in folder "/Program Files"
Step2p
I don't want to hijack this thread, but has anyone been able to find a hack to increase font size within UpToDate?
good work step2p, it works alright with the shortcuts, congrats!, im very happy uptodate is finally getting some attention (after 6 or 7 months since the problem was discovered). Thank you!....
Fix UpToDate by doctorcete.cab
Dear All,
I still prefer to use Fix UpToDate by doctorcete.cab. I don't like IE6 any way. The simple solution is to run Fix UpToDate.cab. You can set Opera as you non-default browser, and Opera still works fine.
so what does this do? use PIE as the manilla internet browser???
what i imagined it would do is make PIE better with zoom, so might be able to zoom a bit better and it might be a bit faster? can anyone explain to me please?
Thanks
UpToDate is an Electronic Medical Database for Medical Drs
If your are not a Medical Dr. You don't need to read this thread
good job... it works nice.
Good evening to all,
I know this is not the appropriate thread to post this but i do hope to get some help
I have installed a trial 17.2 on my pc.does anyone knows which file is held responsible for expiring the trial version in the registry?
cheers
V
how can i check the version of IE?
Don´t mind the version of IE. If UpToDate works out of the box (without any hacks) then you do not need this. If it doesnt work. Follow the steps as described above on the first post, Then it will work.
great work guys. any way to have finger scrolling work?
Hey,
Just wanted to say that UpToDate works perfectly without needing any fixes if you access it through a proxy connected to your medical school, assuming that's an available option. It doesn't work using opera but does with IE, including zooming, etc.
well that's if you use an internet connection be it a data connection or wifi. this discussion is about uptodate completely on the phone (flash card) requiring no internet. thanks though
goldsfool said:
Hey,
Just wanted to say that UpToDate works perfectly without needing any fixes if you access it through a proxy connected to your medical school, assuming that's an available option. It doesn't work using opera but does with IE, including zooming, etc.
Click to expand...
Click to collapse
yooeee said:
well that's if you use an internet connection be it a data connection or wifi. this discussion is about uptodate completely on the phone (flash card) requiring no internet. thanks though
Click to expand...
Click to collapse
Oh, I assumed it still connected to the internet to access some kind of database. So this program alone contains ALL of the information that's available online!?? That's pretty amazing if it does, especially if it updates with new articles. I'll have to look into this now...
Yeah, it's huge >2GB. If you subscribe, there should be an option for them to deliver a DVD to you for you to use with your Palm/Windows Mobile device. UpToDate updates periodically, currently it's version 17.2. Articles are not updated on a rolling basis, but rather in increments corresponding to new versions. The flash card version actually does not update automatically. So whatever version you initially received, it'll remain that version with the same articles. The only way to update articles is to get the new version. Fortunately, the updates do not occur that often and medicine doesn't change drastically between versions.
goldsfool said:
Oh, I assumed it still connected to the internet to access some kind of database. So this program alone contains ALL of the information that's available online!?? That's pretty amazing if it does, especially if it updates with new articles. I'll have to look into this now...
Click to expand...
Click to collapse
many many thanks to all of you
thank you doctorcete ur fixes worked on omnia
and after applying the fixes I've downlaod this file
XDA WM 6.1 P.I.E for WM6.cab
now uptodate17.1 works and I.E 6.1 works
Ok, I haven't gotten this to work. I'm not quite sure what to do with the files. I'm using a Sprint Touch Pro. I placed both files in Programs/Mortscript. I can get everything up, but when i go into the drugs and press headings, it freezes. Any advices?

Categories

Resources