


Friday, 15. February 2008, 09:13:22
Opera, Search, Opera FAQ, JavaScript
Sometimes we need to specify two parameters for search as in the following search.
http://images.google.com/images?imgtype=face&q=monkey
It is possible to create search engine for the above using JavaScript.
By creating a search engine with the following JavaScript in address field, you can search Google Images from address bar by typing <search engine keyword><SPACE><search parameter 1><SPACE><search parameter 2>
Example: gi face monkey
javascript:var s='%s';var p=s.indexOf('+');if(p>-1){var s1=s.split('+');var s2=s.slice(p+1)};window.location.href='http://images.google.com/images?imgtype='+s1[0]+'&q='+s2;
To create search engine for another site, you have to modify images.google.com/images?imgtype='+s1[0]+'&q='+s2; part in the above JavaScript. When you perform search, s1[0] will be replaced by first parameter & s2 with second parameter.
If <search parameter 1> is more than one word use the following JavaScript. You have to use dot instead of space as separtor between search parameters.
javascript:var s='%s';var p=s.indexOf('.');if(p>-1){var s1=s.split('.');var s2=s.slice(p+1)};window.location.href='http://images.google.com/images?imgtype='+s1[0]+'&q='+s2;
Update: Apr 28, 2008


Friday, 1. February 2008, 14:45:44
Opera, Opera FAQ, JavaScript

You can stop execution of JavaScript in a tab by checking Stop executing scripts on this page option and it is valid until you close tab.
If you want execution of JavaScript later just close tab and reopen it from trash can.



Friday, 26. October 2007, 05:56:41
Linux, Windows, Beta, Opera
...
You can install & run Opera 9.50 beta without affecting your current Opera settings.
LinuxDownload Opera 9.50 package in
TAR.GZ or
TAR.BZ2 format, extract it and run
opera shell script. Your settings will be stored inside
profile folder.
WindowsInstall Opera 9.50 in different folder such as
Opera 9.50. Your settings will be stored inside
%APPDATA%\Opera\Opera 9.50 folder.
See
Migrating custom settings from one Opera installation to another &
Test Opera weekly/beta/final with & without changing current Opera settings using Sandboxie.


Wednesday, 12. September 2007, 08:24:32
Mail, Opera, Opera FAQ
Tools → Mail & chat accounts... →
[SELECT AN ACCOUNT] → Edit... → Outgoing → Signature

Opera e-mail signature



Saturday, 14. April 2007, 05:01:35
Speed Dial, Search, Opera, Opera FAQ
Default search engine
CTRL+F12 → Search →
[SELECT] Search engine → Edit... → Details >> →
[CHECK] Use as default search engine
Speed Dial search engine
CTRL+F12 → Search →
[SELECT] Search engine → Edit... → Details >> →
[CHECK] Use as Speed Dial search engine
Google as default search engine & Speed Dial search engine


Monday, 9. April 2007, 16:07:09
Proxy Server, Opera, Opera FAQ
If you frequently switch proxies, it's annoying to change it every time in Tools → Preferences → Advanced → Network → Proxy servers
If you don't know how to edit menu setup see
this.
Add the following below the line
Item, 52216 = Enable proxy servers | Disable proxy servers under
[Quick Preferences Menu] and change 127.0.0.1:5865 & 127.0.0.1:8080 with your proxy servers.
Item, "HTTP 127.0.0.1:5865" = Set preference, "Proxy|HTTP server=127.0.0.1:5865"
Item, "HTTP 127.0.0.1:8080" = Set preference, "Proxy|HTTP server=127.0.0.1:8080"
You can switch proxy server quickly in Quick preferences (F12).

Proxy servers in Quick preferences
You can also use the following instead of above to set proxy server to
http,
https &
ftp protocols but Opera won't respond for awhile when you switch proxy server.
Item, "HTTP,HTTPS,FTP 127.0.0.1:5865" = Set preference, "Proxy|HTTP server=127.0.0.1:5865" & Set preference, "Proxy|HTTPS server=127.0.0.1:5865" & Set preference, "Proxy|FTP server=127.0.0.1:5865"
Item, "HTTP,HTTPS,FTP 127.0.0.1:8080" = Set preference, "Proxy|HTTP server=127.0.0.1:8080" & Set preference, "Proxy|HTTPS server=127.0.0.1:8080" & Set preference, "Proxy|FTP server=127.0.0.1:8080"



Wednesday, 21. February 2007, 03:56:23
Windows, Linux, Share, Opera
...
To share profile/settings between Windows & Linux, you should have Windows FAT32 partition and it should be mounted (preferably automatically) in Linux with read write access.
First backup both
profile &
mail directories in Windows & Linux.
In Windows
Method 1
Install another copy of Opera in FAT32 partition with
Individual Opera profiles for each user on this computer option unchecked. Copy files from your old installation profile to FAT32 partition profile and change all absolute file paths to reflect the new location in
opera6.ini,
mail\accounts.ini &
mail\index.ini.
Method 2
Using NTFS junction point (you must have NTFS in system drive)
Move all files from your Opera profile directory to FAT32 partition and create junction point from previous profile to FAT32 partition profile using
Junction Link Magic or command line tool
Junction. See
observed effects of junction point.
Method 3
a) Copy files from your profile to FAT32 partition except
opera6.ini and change all absolute file paths to reflect the new location in
opera6.ini,
mail\accounts.ini &
mail\index.ini.
b) Copy files from your profile to FAT32 partition, change all absolute file paths to reflect the new location in
opera6.ini,
mail\accounts.ini &
mail\index.ini and run opera with command line option
/settings. Example:
C:\Program Files\Opera\Opera.exe /settings D:\Opera\profile\opera6.ini
In Linux
Method 1
Using symbolic link (AKA symlink or soft link)

Symbolic links in Linux
Move all files in
~./opera except
cookies4.dat,
opera6.ini,
pluginpath.ini &
vlink4.dat to some folder. Create a script file with the following code, change
/windows/Opera/profile with your path to Opera profile in FAT32 partition, set executable permission and run.
#!/bin/bash -
if [ ! -e ~/.opera ]; then mkdir ~/.opera; fi
cd ~/.opera
ln -s /windows/Opera/profile/cache4 cache4
ln -s /windows/Opera/profile/cacheOp cacheOp
ln -s /windows/Opera/profile/images images
ln -s /windows/Opera/profile/keyboard keyboard
ln -s /windows/Opera/profile/mail mail
ln -s /windows/Opera/profile/menu menu
ln -s /windows/Opera/profile/mouse mouse
ln -s /windows/Opera/profile/sessions sessions
ln -s /windows/Opera/profile/skin skin
ln -s /windows/Opera/profile/styles styles
ln -s /windows/Opera/profile/toolbar toolbar
ln -s /windows/Opera/profile/userjs userjs
ln -s /windows/Opera/profile/widgets widgets
#ln -s /windows/Opera/profile/cookies4.dat cookies4.dat
ln -s /windows/Opera/profile/download.dat download.dat
ln -s /windows/Opera/profile/global.dat global.dat
ln -s /windows/Opera/profile/notes.adr notes.adr
ln -s /windows/Opera/profile/opcacrt6.dat opcacrt6.dat
ln -s /windows/Opera/profile/opera.dir opera.dir
ln -s /windows/Opera/profile/opera6.adr opera6.adr
ln -s /windows/Opera/profile/oprand.dat oprand.dat
ln -s /windows/Opera/profile/opssl6.dat opssl6.dat
ln -s /windows/Opera/profile/override.ini override.ini
ln -s /windows/Opera/profile/search.ini search.ini
ln -s /windows/Opera/profile/speeddial.ini speeddial.ini
ln -s /windows/Opera/profile/urlfilter.ini urlfilter.ini
#ln -s /windows/Opera/profile/vlink4.dat vlink4.dat
ln -s /windows/Opera/profile/wand.dat wand.dat
ln -s /windows/Opera/profile/widgets.adr widgets.adr
exit 0
Even if you create symbolic link for
cookies4.dat &
vlink.dat, these are replaced by files when you close Opera.
Method 2
Change all file paths to reflect FAT32 partition location in
opera6.ini.
Warning: There is no security option in FAT32. So, anyone can access your profile in FAT32 partition if they have account in Windows.
Update: Dec 17, 2007
Showing posts 1 -
7 of
48.