As has been pointed out in all of my articles dedicated to the excellent, lightweight browser Opera Mini, in addition to the lack of italic characters, probably the biggest problem with it has always been the lack of support for copying text from a Web page.
Now, this is fixed. While the way I've enabled copying is certainly inferior to the excellent copy capabilities of Teashark (see THIS), it's certainly working and, at last, enables anyone to copy anything out of any Web page, regardless of the platform you use. Yeah, it IS revolutionary.
How it works? Pretty easy: I've created a Web application that you need to pass the address (the URL) of the page you'd like to copy contents from. After entering (copying) the address, it presents you the contents of the page in a text area, which is already copy-enabled; that is, you can copy anything from them to your device's clipboard.
As mobile devices, in general, are only able to handle small(er) chunks of text in a text area, the dialog you're presented uses 2000-char-long chunks of text. You can easily switch between the block you're reading by just clicking the appropriate block link (0, 1, 2 etc.) There's also a way to force the application to display the entire page at once; note that, with pages over 10-15 kilochars, this may result in Opera Mini's slowing to crawl. That is, use it if you're absolutely sure your particular model / operating system lets for putting larger texts in an editable text area.
Now, let's see how this all works in practice.
1. add the Web page http://menneisyys.s156.eatj.com to your favorites in Opera Mini (the easiest way of doing this is reading this article in Opera Mini and clicking the link)
2. when you're on a(nother) page you'd like to copy something from, copy the address of the page you'd like to copy text from to the clipboard of your device. This needs to be done in the following way:
a. on Windows Mobile Pocket PC's (but not touchscreen-less Smartphones, where you need an additional app for copying):
a-1: press #1 (if your phone has a hardware dialpad) or go to Menu (left softkey) / Enter Address
a-2: If you haven’t disabled the new auto-completion address input field (the Auto-complete address input checkbox in Settings), press Down and go to Insert symbol… by pressing Up; and select it; you’ll be taken to the address input field of your Java environment. (You’re taken straight here if you disable the new, Opera Mini-specific address input field.)
a-3: select Menu (right softkey) / Current Address
a-4: As you can see, the address of the current page is displayed. Just copy it: highlight it entirely (under Jbed, to do this, click Shift, Ctrl and, finally, the left arrow on the on-screen keyboard) and press Ctrl-C on the virtual keyboard.
b. on Blackberry phones:
b-1: press #1 (if your phone has a hardware dialpad) or go to Menu / Enter Address
b-2: If you haven’t disabled the new auto-completion address input field (the Auto-complete address input checkbox in Settings), roll the trackball down, and, then, up, until you get to Insert symbol…. Now, you'll be taken to the address input field of your Java environment. (You’re taken straight here if you disable the new, Opera Mini-specific address input field.)
b-3: press the Shift button and roll the trackball down until the entire (current) address is selected
b-4: press Menu and select the (default) Copy.
b-5: to exit this dialog, press Back twice.
3. now that you've copied the address of the current page, switch to the previously (in bullet 1) stored page. When it loads, copy the URL of the previous page (the one you'd like to copy text from) to the "Enter the URL to convert" textfield. To do this, start editing the field and,
- on Blackberries, press the hardware Menu button and go down to Paste.
- on Windows Mobile devices, bring up the virtual keyboard and click Ctl, and, then, V
- on Symbian devices, long-press the Pen button until "Paste" is shown over the right softkey. Not releasing the Pen button, press the right softkey.
After some conversion, a new page is displayed, with a huge text area displaying the textual contents of the Web page. If the contents of the page is longer than 2000 characters, only the first 2000 is displayed (not to overburden the phone) and you can select the later ones by clicking 1, 2, ... n at the top of the page. You can also make the system display the entire content entirely, without cutting it in chunks, by clicking the "Click here to see the entire page!" link. Again, use this feature with caution - again, your phone may slow to a crawl, if the midlet manager's text area component is able to edit so huge blocks of text at all).
Finally, if you absolutely don't see anything and/or you'd like to see the entire markup of the page, click "Click this to switch to tag-enabled mode if you don't see anything".
After you've stepped into editing the text area displaying the (given chunk of) text, just look for the expression / URL etc. to copy to the clipboard. Once you've found it, highlight it and copy to the clipboard. This operation is supported on all the major smartphone operating systems and done in the same way as copying the address of the current page to the clipboard.
Hosting
Currently, the converter is hosted on a free JSP server that needs to be manually restarted every six hour (to force people to purchase a real Web package). That is, when you do check it out, it might not work at all. I will surely move it to another page / service provider if I don't find anyone else to voluntarily host it, depending on the price / conditions. (Currently, I don't really need a JSP/PHP-capable Webpage and, consequently, I've only subscribed to a static one for my database/picture/file back-end at http://www.winmobiletech.com/ ; this is why I can't currently host it myself.)
If you have the bandwidth and you'd like to help Opera Mini users, feel free to host the files yourself. If you have a JSP engine (Tomcat et al.), you'll find the web application (WAR) file HERE. If you only have a PHP or ASP engine, and don't want to struggle with porting the Java app into PHP or ASP, let me know and I convert it instead.
Source
The source of my converter is really-really small. The two, related files HERE and HERE, should you want to know how it works. The first is the main "landing" page you need to paste the URL to paste text from (it's a static HTML page as there is no need for any dynamic content in it); the second is the actual JSP page doing the work.
I've updated my eatj.com account: subscribed to a one-month plan (for $10). Now, the service should start working in 12 hours. There will be no pauses from now on. Feel free to use the service - and don't forget to provide me feedback on what you would welcome.
Also free to provide me with commonly visited pages (CNN etc.) that you think I could provide a more sophisticated engine - for example, only displaying article text and not displaying other stuff.
All in all, feel free to (publicly! NOT IN PRIVATE MESSAGES, they will all be ignored!) ask me to provide new functionality and/or site-based custom processing.
UPDATE:
In the meantime, based on public feedback (see selurus' and yitzy's requests on Wednesday, 3. June 2009, 18:13:35 and 23:30:15, respectively, at http://my.opera.com/community/forums/topic.dml?id=277592&t=1244154046 ), I've added the following two front-end pages:
http://menneisyys.s156.eatj.com/i2.html : if you paste the source page URL to this page, you'll be presented by all blocks in order. This way, you'll see (based on the text already visible in the beginning of each textarea) right away in which block you need to look. selurus reported it caused no slowdown on his handset; your mileage, on other handset models / operating systems may vary. That is, if you don't need this kind of breakup and/or it causes too much slowdown and you're sure you can find a given part of the text faster using the traditional links, use the first version instead. (Feedback is welcome!)
http://menneisyys.s156.eatj.com/i3.html : this displays UTF-8 pages properly (most oriental languages like Chinese / Japanese; Hebrew etc.). I've tested it with http://www.haaretz.co.il/hasite/spages/1090414.html (Hebrew) and http://fi.wikipedia.org/wiki/Romanit (Finnish; check out the letter "ž" in word gudžarati after "urdu, hindi, sanskrit ja"). NOTE: it's for UTF-8 source pages ONLY. Do not try to decode e.g. East-European languages using 8859-X with it. I plan to release a version compatible with these traditional, 8-bit encodings as well when I have the time so that charset setting becomes automatic.
As you can see, these front-ends 1. offer an alternative view (displaying the content of the entire page in multiple text areas, keeping in mind the text area editing limits) and 2. allow for copying from UTF-8-encoded pages.
------------------------------------------
Also in the Opera Mini Community forum, there's a nice tip posted by Yeswap: use "bookmarklets" to speed up invoking the converter. To do this, do the following:
1. from Opera Mini, go to http://o.yeswap.com/
2. click Tools or scroll down to Tools
3. click Copy Page Text
4. (seemingly) the same page reloads; NOW bookmark it as a standard bookmark (Menu / Tools / Add Bookmark or #7 if you have hardware buttons). However, don't save the bookmark yet - just open it for editing!
5. remove "http://o.yeswap.com/?" from the URL so that it becomes javascript:location.href='http://menneisyys.s156.eatj.com/om.jsp?q='+encodeURIComponent(location.href)+'&blocknr=0'
6. now, you can already save the edited bookmark.
7. you can quickly invoke the new bookmark: when you're on a Web page you'd like to copy to the contents to an editable text area (so that you can, later, copy text from), just go to your bookmarks (Menu / Bookmarks or, if you have hardware keys, #2) and click the just-added "Copy Page Text" entry. You'll be immediately taken to the target page - that is, no manual URL pasting is necessary any more! As you can see, this has really made all this very simple.
Note that you can safely change "om.jsp" to either "om2.jsp" or "om3.jsp" in the URL you bookmark (so that it becomes javascript:location.href='http://menneisyys.s156.eatj.com/om2.jsp?q='+encodeURIComponent(location.href)+'&blocknr=0' and javascript:location.href='http://menneisyys.s156.eatj.com/om3.jsp?q='+encodeURIComponent(location.href)+'&blocknr=0', respectively), should you want to have a direct link to the two new, alternative pages (display all the pages and use UTF-8) I've just added.
Also note that, strictly, you don't have to go to http://o.yeswap.com/ to add the bookmarklets. You can do the same by adding a new bookmark with the above contents (e.g., javascript:location.href='http://menneisyys.s156.eatj.com/om2.jsp?q='+encodeURIComponent(location.href)+'&blocknr=0' ). Also, you can name your bookmark anything - not strictly Copy Page Text.
I've implemented PDF support.
After a lengthy and careful evaluation of the current Java libraries used for PDF parsing, I've decided to choose Adobe's own one.
To use it,
1. navigate to http://menneisyys.s156.eatj.com/pdf.html and paste the URL to the PDF there.
2. if someone else has some seconds ago checked translated the document, you'll be presented its textual contents, in the usual multiple text areas (see http://menneisyys.s156.eatj.com/i2.html ) right away.
3. if it's the first time in the last few seconds that the document has been converted, you'll be dispatched to Adobe's page. After some 10-20-30 seconds of waiting, the conversion is finished and you'll be shown the textual version of the page.
4. NOW, just press Back until you get back to http://menneisyys.s156.eatj.com/pdf.html . Press the Submit button again. Now that it was just some seconds ago that you made Adobe convert your document, you'll be presented it, already in the text areas.
It's a bit convoluted but "hiding" the Adobe interface and make it even easier would have taken me too much time / effort.
Hope you'll like it
Thank you for all you useful information!
Hi,
Does anyone know of a text substitution app, that will allow me to type a short phrase into any text box, and replace it with a longer one?
e.g. I type ".sig" --> replaced with my signature (name, email address etc).
I know there are apps that will do this for SMS, but I was hoping to find one that allows more generalized substitution (across the whole OS). Maybe a keyboard replacement?
The closest I've found is Clipper, which lets me save "snippets" and choose them from a list.
Thanks in advance,
Lee
+1
...Some form of Autohotkey port to Android would rock.
I'm also looking for something similar.
So in the meantime, I use Textspansion (Free) and I combine it with Swipepad that enables me to access Textspansion (a bit easier - although does place a icon on the notification bar).
Textspansion is a great app, but a pervasive Text substitution app would be even better and even better if it had some form of macro recording and playback ability.
I missed having something like this that exists in Windows Mobile in the form of Calligrapher from Phatware, which has both Text subsititution and ability for you to program actions, clicks etc.
I understand that the browser in Windows Phones is based on IE6/7. However, I was under the belief that both IE6 and 7 supported bookmarklets, so I was a bit surprised by the fact that I couldn't open "javascript:" addresses from IE, nor could I open a bookmarklet that I had, well, bookmarked. What gives? Does anyone know if this was removed as a security issue, or whether it will be fixed in Mango?
I wanted to use the Readable bookmarklet or look for another one that could reverse the color scheme on websites so that all the white on the internet wouldn't kill the SAMOLED screen and my eyes.
Yea... the rendering engine is based on ie6/7 not the entire browser codebase. The code could be there, however, for speed and bandwith purposes, it is probably all locked down. Can u use bookmarklets in IE9? If u can, then there is hope for the future of mango which uses extremely similar bits of code and the rendering engine is identical across phone and desktop/laptop browser.
Hope u can get that all to work out for u
Mango does support bookmarklets - apparently not to the extent that the IE9 desktop browser does, but javascript: "addresses" can executed, either from the address bar or from Favorites.
For example, if you're missing the "Forward" menu item, try Favoriting
javascript:history.forward();
(Works for me, at least)
I have a webpage loaded on my Xoom's Android Browser which has 3 absolutely position div's - a header which is 40px in height and spans the entire width of the page, a left menu 200px in width and a main content section filling the remainder of the page.
Inside the content, a number of <select> controls are present and, when the page is posted back, more <select>'s are added to the content page based on the initial selections.
When the page first loads, I am able to select values from the lists and enter values into text fields, etc. When the page is posted back to the server, I am unable to enter any values into any of the form controls on the page; from text fields to lists.
When I click on a control, a focus rectangle appears around the control but also another artifact appears on the page in the position the control is in the content section but relative to the top left corner of the page.
I believe that it may be this artifact and positioning error that is causing my issue but there seems to be no debugging tools available that allow me to inspect the source of a webpage in the Android Browser.
I've loaded Opera Mobile onto my Xoom and this works without any problems. I attempted to use Firefox but this seemed to buggy. All the usual desktop browsers work without fail. Dolphin does not work on the Xoom.
I guess this indicates a problem with WebKit however I wouldn't even know where to begin to fix this (other than change the CSS position attribute, which I can't).
Can anyone offer any advice as to what I could try? Has anyone experienced anything like this? Unfortunately, I really need to get this working on a tablet - preferably a non-Apple unit.
Thanks in advance,
Kev
Are you writing html or just trying to get a certain site to work?
Haven't really read through the entire thread lol
Did you try to get into debug settings in the Xoom? I don't remember how but you can Google it.
Sent from my PC36100 using XDA App
This is not development. Moved to QA. Good luck with the problem, though.
This is a thread dedicated to customizing the Start screen. Share any tips or tricks you've found for making your own tiles, and discuss how to customize tiles even more. Here we go.
1. To create a tile for a folder or library, go into windows explorer, select the folder you want to pin, and hit the "Easy access" button. Hit "Pin to Start"
2. To pin files to the Start screen, you'll need to download an app called "Tile A File"
3. To speed up the time it takes to load the Start screen, select any tile you don't use often and hit "Turn live tile off"
4. To pin a website, navigate to it in the "Modern" version of IE, and hit the pin button on the bottom bar. To pin a website with a custom logo, download the app "Tile Genie"
If you have a suggestion, leave a comment, and I'll add it to the list!
P.S. I'm working on a way to get an extra row of apps, and will post here if I figure it out!
Please hit the thanks button if I was helpful!
Anyone know of a way to add html code to a website, maybe by using a style sheet or something? Not to actually add it to the server, but make it show like it's part of the code on the local machine. I'm thinking add the tile code you can get from the Microsoft site to any site you want to pin, then pin it...
There are desktop IE add-ons that support adding "user scripts" (think Greasemonkey on Firefox) but I don't expect any of them to work on Windows RT. You could give it a try, though. Otherwise... custom CSS rules are allowed, and IE allows (or allowed, in the past) certain amounts of JS in CSS. You could try CSS "behaviors" (which requires creating a script file and setting it to be included) or CSS "expression" values (as in, "border-width:expression(3*11)" or even invalid attributes such as "xyz:alert('CSS!')" or some such) but bear in mind that those may only work if you put the browser in compatibility mode.
Thanks. Still trying to work it out. Did find an app to do it though!