(MY) MAJOR BREAKTHROUGH: now, you can use Opera Mini as the system-level Web browser! |
![]() ![]() |
(MY) MAJOR BREAKTHROUGH: now, you can use Opera Mini as the system-level Web browser! |
Nov 27 2007, 15:59
Post
#1
|
|||
|
Addict Group: Moderator Team Posts: 826 Joined: 3rd December 2006 Member No.: 216,586 Device(s): a lot |
You, hopefully, already know Opera Mini 4, which, currently, I recommend the most for all Windows Mobile users as the primary browser. It’s especially useful if you are on either a slow (say, GPRS) or expensive (non-flat rate) data plan and/or you also use Opera on the desktop and, therefore, can make use of the excellent, remote (!) favorite synchronization offered by Opera Link.
So far, it was impossible to quickly invoke Opera Mini from any mailer applications by just clicking / activating Web links in them. This was a major stumbling block for many, which is quite understandable. Yes, it’s a major pain in the back to having to rely on Internet Explorer (Opera Mobile, Netfront etc.) for displaying the given Web page - instead of the much faster / cheaper / prettier Opera Mini. Of course, Pocket PC (using the new terminology, Windows Mobile 6 Professional / Classic) users have always had an escape route. They still could highlight the link and, then, copy it to the clipboard. After that, they could still invoke Opera Mini, go to Menu / Enter Address and paste the URL there. (Assuming, of course, they use a copy/paste-capable MIDlet Manager. The outdated and, unless you have specific needs or an old operating system, in no way recommended TAO isn’t one of them; the recommended Jbed is.) An example of highlighting a link and copying to the clipboard is depicted in the following screenshot: ![]() This, however, resulted in multiple screen taps and has never been so simple as just clicking a link in the mail body and let the system invoke the browser and pass the link to it. And, of course, the above-explained way of copying URL’s to Opera Mini doesn’t work with touchscreen-less MS Smartphone (in the new terminology, Windows Mobile 6 Standard) models. Not even with external Copy/Paste tools like VITO’s excellent, free CopyPaste. Because of the acuteness of the problem, I’ve thought very hard on solving the problem and making Opera Mini (OM for short) a browser that doesn’t suffer from this problem. And, during a lengthy swimming & sauna session, it occurred to me how it can be solved. Yeah, it’s mostly during swimming that I get the best, most revolutionary ideas First, the pros and the cons so that you can see what you can expect of my solution. Pros
Cons
Again, let’s emphasize it again:
Installation, usage
If you absolutely don’t know how the Registry import file needs to be imported, do either of the following:
That’s all – from now on, clicking links in mails, documents etc. should fire up OM and pass the URL. How you can (and when you must) modify OMInvokeAndPasteScript.mscr ? The majority of the application logic is, in both the WM5 and WM6 versions, in OMInvokeAndPasteScript.mscr. Therefore, you’ll need to modify it in the following cases:
Quick explanation for the different behavior under WM6 (only for geeks / hackers / programmers!) Under WM6, invoking the default Web browser isn’t any more done the same way as under previous operating systems. There, the contents of HKEY_LOCAL_MACHINE\ SOFTWARE\Microsoft\ Shell\Rai\ : DEFBROWSER\1 tell the system what to invoke. Here, unfortunately, it’s impossible to define additional command-line parameters. Parameters DO get passed (in the background), but you can’t name them. MortScript, however, relies on the latter – that is, named parameters referable under their name, NOT their index. Under pre-WM6 operating systems, it was easy to name the parameters you passed to programs as can clearly be seen in the WM5-specific Registry import file, which just overwrites the old value of HKEY_CLASSES_ROOT\ http\Shell\Open\ Command: @="\"\\Program Files\\MortScript\\MortScript.exe\" \"\\Program Files\\MortScript\\OMInvokeAndPasteScript.mscr\" url=\"%1\"" Here, I’ve named the parameter “url”. This is why the first row in the MortScript file is as follows: SetClipText(url) This just instructs MortScript to copy the contents of the “var” variable (which, now, comes from the “outside” of the script) to the clipboard so that, later, it can be pasted back to the URL input field. Feel free to quickly scrutinize the two, WM6- and pre-WM6-specific Registry import files so that you can see this for yourself. Currently, I don’t know a way of naming parameters under WM6. Of course, when I come up with a solution, I let you all know. |
||
|
|
|||
Nov 29 2007, 21:53
Post
#2
|
|||
|
Addict Group: Moderator Team Posts: 826 Joined: 3rd December 2006 Member No.: 216,586 Device(s): a lot |
UPDATE (11/29/2007): thanks to badbob001 on my blog, now, as opposed to the initial case, WM6 devices (both Pocket PC's and Smartphones) are FULLY supported!!!!!!!
This all means there is no longer a difference between how WM6 and pre-WM6 operating systems behave. You only need to make sure to get the right .MSCR and Registry import files from the already-updated ZIP file, depending on your operating system version. That is, for WM6, get the files from the WM6 subdirectory, for pre-WM6 operating systems, from the WM5 one. And, of course, modify the scripts if Opera Mini isn't deployed as the first app under Jbed, the, by default, supported (and highly recommended) MIDlet manager. Again: Under WM6, manual link copying to the clipboard is no longer needed and, again, it works 100% on WM6 Smartphones as well! (note that now that WM6 is fully supported, I haven’t edited the original article; its WM6-related parts are now outdated. Again, WM6 is fully supported now and there's no difference between the usability on pre-WM6 and the WM6 platforms any more.) |
||
|
|
|||
Dec 4 2007, 17:51
Post
#3
|
|||
|
Addict Group: Moderator Team Posts: 826 Joined: 3rd December 2006 Member No.: 216,586 Device(s): a lot |
UPDATE (12/04/2007): Major WM6-related updates have taken place in the meantime.
In the meantime, my blog reader badbob001 has refined the script. Now, if you click a link, you’ll be presented a choice list, where you can select whether to pass the given URL to Internet Explorer Mobile, Opera Mini, just copy to the clipboard or just cancel the operation. This will help you in selecting the right browser if you (still) plan to use IEM (or other native Web browsers like Opera Mobile, Netfront or Minimo). ![]() Cool, eh? Remember that you don’t need to deploy this script if you don’t need this kind of functionality but always want to be redirected right to Opera Mini. Therefore, I’ve also included the older version of this script in the ZIP file. It’s in the NoBrowserSelectionDialog subfolder. Note that this script has also been updated a bit: it checks for Jbed already running; if it is, then, it doesn’t wait that much. Again, thanks for badbob001 for refining and performance-tuning my initial script. Note that the usual stuff applies: if the script doesn’t invoke Opera Mini but invokes something else, edit both occurrences of s0 and appropriately change 0 to a greater number. Finally, note that, these updates & bugfixs being all WM6-related, I haven't edited the old, WM5-related, working MortScript file. If you need some speedup and/or dynamic, runtime selection of the browser you'd like to use, you'll want to copy either of the two new MortScript files - it'll work. 2. Upon HowardForums forum member volwrath’s bug report, I’ve enhanced the Registry import file to support invoking Opera Mini from all applications, not only Messaging and Notes. I wouldn't have thought WM6 is so half-baked (that is, half of the apps still depend on the pre-WM6 (that is, the HKCR/http/Open/Command) way of invocation). That is, the WM6 Registry import script has also been enhanced (basically, I've just added the contents of the old WM5-related Registry import file to it), not only the MortScript file. Note that reading local files will still default to the system-level browser as I haven’t redefined the default application for opening .htm(l) files. That is, by default, Internet Explorer Mobile will open these. Again and again, it can’t be stressed enough how much these hacks enhance the usability of Opera Mini under Windows Mobile! I really recommend giving Opera Mini a try – you certainly won’t regret it! |
||
|
|
|||
Dec 12 2007, 15:11
Post
#4
|
|||
|
Addict Group: Moderator Team Posts: 826 Joined: 3rd December 2006 Member No.: 216,586 Device(s): a lot |
UPDATE (12/12/2007): upon the problem reports of several Smartphone users (see the posts for example HERE), I’ve released a slightly modified version of the script that, instead of pasting, uses keyboard emulation. This makes it possible to use the script on some Smartphones that are incompatible with pasting.
The script is available HERE. Remember to remove the SP.2 extension before deploying it. Note that, again, it's ONLY meant for Smartphone users that previous script versions didn't work with!!! Note that while it works on for example the I3 Beta of WM6 of the Samsung BJ, it doesn’t do the same on the (original) WM5 version of the same device or the HTC Vox (s710). It seems it’s impossible to support these devices with the current MortScript version. I'll also try to reimplement the script in nScriptm (another, less widely used scripting language / interpreter) - hope it is able to paste / send characters to these, still incompatible MS Smartphone models. |
||
|
|
|||
|
Dec 12 2007, 16:37
Post
#5
|
||
![]() The Main Man Group: Admin Team Posts: 19,927 Joined: 6th November 2002 From: Norwich, UK Member No.: 1 Device(s): HTC Advantage |
Just got my 20 key Touch Dual which, unlike the 12 key version I have, uses JBlen JVM, with no full screen support.
Ugh, time to change that methinks P -------------------- Paul O'Brien - Microsoft MVP, Mobile Devices, MoDaCo.network Founder. Check out my Blog! £10 off a £20 spend at eXpansys - click for details |
||
|
|
|||
Dec 14 2007, 14:11
Post
#6
|
|||
|
Addict Group: Moderator Team Posts: 826 Joined: 3rd December 2006 Member No.: 216,586 Device(s): a lot |
|||
|
|
|||
Dec 14 2007, 14:11
Post
#7
|
|||
|
Addict Group: Moderator Team Posts: 826 Joined: 3rd December 2006 Member No.: 216,586 Device(s): a lot |
UPDATE (12/13/2007): I’ve also made available the Registry import file you’ll need to use when reverting to the original, Internet Explorer-only associations. It’s HERE.
|
||
|
|
|||
Dec 15 2007, 18:20
Post
#8
|
|||
|
Addict Group: Moderator Team Posts: 826 Joined: 3rd December 2006 Member No.: 216,586 Device(s): a lot |
UPDATE (12/15/2007): XDA-Devs forum member shlomki has just released the different hacks in CAB format so that they’re very easy to install. They’re available HERE. Comments are welcome. (Note that, due to lack of time, I haven’t checked them.)
|
||
|
|
|||
|
Feb 17 2008, 20:41
Post
#9
|
||
|
Newbie Group: Posters Posts: 43 Joined: 21st April 2007 Member No.: 248,942 |
Hmmm.... I'm having a strange problem. I've installed everything as instructed (using the pop-up menu script), and the problem I'm having is that the URL is not being pasted into OM4. The URL page opens (via script) but pastes nothing into the field and then closes the URL page. So, it seems like on my Vox (WM6, new ROM) the cut'n'pasting bit isn't working properly.
Wondering if the new ROM is the culprit (never tried this on the original ROM) or do I need VITO's cut'n'paste application installed? Any info greatly appreciated. Thanks, Jon |
||
|
|
|||
|
Feb 23 2008, 12:38
Post
#10
|
||
![]() Newbie Group: Posters Posts: 9 Joined: 31st August 2006 From: Herts, UK Member No.: 204,271 Device(s): M3100, TytnII |
UPDATE (12/15/2007): XDA-Devs forum member shlomki has just released the different hacks in CAB format so that they’re very easy to install. They’re available HERE. Comments are welcome. (Note that, due to lack of time, I haven’t checked them.) Just thought I'd give thi thread a bump by saying I just indtalled the WM6 'select what to do' cab, and it works! Can't tell you how happy I am. This was my biggest bugbear with my old 3100, and having it solved and learning that jbed supports copy paste makes OM4 THE browser! |
||
|
|
|||
Apr 4 2008, 15:40
Post
#11
|
|||
|
Addict Group: Moderator Team Posts: 826 Joined: 3rd December 2006 Member No.: 216,586 Device(s): a lot |
UPDATE (04/04/2008): Now that Opera Mini 4.1 beta has been released (see THIS) with a, by default, slightly modified address input field, you’ll need a modified version available HERE.
Also, there’s a full native (C++), MortScript-free implementation of the invocation script HERE. It’s (still) not compatible with 4.1 unless you untick "Direct address input" in Settings. |
||
|
|
|||
Apr 4 2008, 15:41
Post
#12
|
|||
|
Addict Group: Moderator Team Posts: 826 Joined: 3rd December 2006 Member No.: 216,586 Device(s): a lot |
Hmmm.... I'm having a strange problem. I've installed everything as instructed (using the pop-up menu script), and the problem I'm having is that the URL is not being pasted into OM4. The URL page opens (via script) but pastes nothing into the field and then closes the URL page. So, it seems like on my Vox (WM6, new ROM) the cut'n'pasting bit isn't working properly. Wondering if the new ROM is the culprit (never tried this on the original ROM) or do I need VITO's cut'n'paste application installed? Any info greatly appreciated. Thanks, Jon You might want to give the C++ version a try. |
||
|
|
|||
Apr 5 2008, 11:34
Post
#13
|
|||
|
Addict Group: Moderator Team Posts: 826 Joined: 3rd December 2006 Member No.: 216,586 Device(s): a lot |
UPDATE (04/05/2008):
XDA-Devs user JZ SmartMort has released a very promising title making Opera Mini the system-level browser much simpler and offering a LOT of additional functionality. See his thread HERE. Note that he also posted a somewhat shorter post HERE (in THIS thread, should you also want to read the possible, future discussion of his app). |
||
|
|
|||
Apr 6 2008, 09:16
Post
#14
|
|||
|
Addict Group: Moderator Team Posts: 826 Joined: 3rd December 2006 Member No.: 216,586 Device(s): a lot |
UPDATE (04/06/2008): The native C++ version of the invocation script has been updated to be compliant with 4.1. In addition, badbob001 has updated his MortScript to be compatible with 4.1 and he is also doing automatic (!!!) descriptor parsing & discovery to automatically find the current position of the OM deployment (just like the JZ SmartMort's brand new script I've reported on above), which, so far, needed to be done (once) by hand. See his updated script HERE. Both advancements are discussed HERE, starting with page 10 (post #91).
|
||
|
|
|||
May 11 2008, 15:41
Post
#15
|
|||
|
Addict Group: Moderator Team Posts: 826 Joined: 3rd December 2006 Member No.: 216,586 Device(s): a lot |
UPDATE (05/11/2008): an entirely new, multiplatform article has been published on the subject; this one has officially been declared outdated. I only keep it for historical purposes only. The new article has been cross-posted to: PPCT, AximSite, XDA-Developers, BrightHand, HowardForums, SPT, MoDaCo, Opera Mini forum.
|
||
|
|
|||
May 12 2008, 23:37
Post
#16
|
|||
|
Regular Group: Posters Posts: 138 Joined: 2nd December 2004 Member No.: 100,181 |
Just thought I'd give thi thread a bump by saying I just indtalled the WM6 'select what to do' cab, and it works! Can't tell you how happy I am. This was my biggest bugbear with my old 3100, and having it solved and learning that jbed supports copy paste makes OM4 THE browser! I started using this the other day and am very impressed so far, just can't understand why IE or the proper Opera can't seem to compete! Anyway, I had it running via the instructions on a different topic (installing mortscript, copying script across, etc) and had it working as the default no problem. I like the idea of the selection box though when using the cab, clicking on a link and selecting 'open in opera mini'; it opens opera up but doesn't copy the link across like it usally does. Just stops on "www." "go to.." whereas usually it will copy the address in. I've uninstalled your cab, reinstalled mortscript and the old script and is working fine again but I don't get that selection box. Any ideas what it could be? I'm using a MDA Vario III (Kaiser - Loose track of all the different names!!) if that makes a difference? -------------------- Google holds all the keys.....
|
||
|
|
|||
May 13 2008, 08:08
Post
#17
|
|||
|
Addict Group: Moderator Team Posts: 826 Joined: 3rd December 2006 Member No.: 216,586 Device(s): a lot |
I started using this the other day and am very impressed so far, just can't understand why IE or the proper Opera can't seem to compete! Anyway, I had it running via the instructions on a different topic (installing mortscript, copying script across, etc) and had it working as the default no problem. I like the idea of the selection box though when using the cab, clicking on a link and selecting 'open in opera mini'; it opens opera up but doesn't copy the link across like it usally does. Just stops on "www." "go to.." whereas usually it will copy the address in. I've uninstalled your cab, reinstalled mortscript and the old script and is working fine again but I don't get that selection box. Any ideas what it could be? I'm using a MDA Vario III (Kaiser - Loose track of all the different names!!) if that makes a difference? Dunno why. You should give a try to the latest bdbob version - see http://www.modaco.com/content/pocket-pc-ge...system-browser/ |
||
|
|
|||
![]() ![]() |
Similar Topics
| Topic | Replies | Topic Starter | Views | Last Action | |
|---|---|---|---|---|---|
![]() |
|
15 | Paul (MVP) | 22,129 | Today, 01:43 Last post by: wapvirus |
![]() |
anyone knows howto delete ROGER logo on my SGH-i616 | 3 | VFL | 209 | Today, 00:54 Last post by: watttryan |
![]() |
Samsung i900 Omnia now available on T-Mobile UK It seems to be the 8GB version! |
45 | deadphill | 1,370 | Today, 15:01 Last post by: gavken |
![]() |
Poll: Have you succeeded in updating your omnia with the OFICIAL DXHH1 firmware? Post your experiences |
31 | LoveGod | 704 | Today, 15:01 Last post by: GSeeker2 |
![]() |
Is it possible my SPV M700 connects to Internet automatically | 1 | sopo74 | 46 | Today, 06:14 Last post by: Neil5459 |
![]() |
My phone is unlocked will a hard reset make it lock again |
1 | xxa1rxforce1zxx | 31 | Today, 06:08 Last post by: Neil5459 |