Thread
:
[Announce] Opera Mobile 11
View Single Post
xes
2011-10-25 , 11:00
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#
1038
sorry...
Searching and searching again i found that Opera Mobile requires an internet connection to open
http://localhost
...ON ANY PLATFORM.....
So i may suppose that my tests with the previous version were made while connected to the web...
Now i prepared a little wrapper script for who is using opera like default browser....
so:
mv /usr/bin/opera /usr/bin/opera.orig
vi /usr/bin/opera
and past inside:
#!/bin/sh
if echo "$@" | grep wiki | grep 8080 |grep "127\.0\.0\.1"
then
# evopedia tweak
##### option 1
/usr/bin/tear "$@"
##### option 2
#filename=`basename "$@"`
#wget "$@" -O "/tmp/$filename.html"
#opera "/tmp/$filename.html"
#rm -f "/tmp/$filename.html"
else
/usr/bin/opera.orig "$@"
fi
-----------------------------------------
chmod 777 /usr/bin/opera
Now, inside the wrapper there are two options:
1 use tear only for evopedia
2 (interesting trick) pick the page and load as local file
(this choice has a little issue because pointing on a link inside a page the result is page not found - while starting from an evopedia search everything works)
I posted here because the same trick may be used with other browsers or offline situations.
Quote & Reply
|
xes
View Public Profile
Send a private message to xes
Find all posts by xes