windows下

开始 - 运行 - %Programfiles%operadefaults,拷贝 standard_menu.ini 这个文件;开始 - 运行 - %appdata%Operaprofilemenu,拷贝到这里。

linux 下:

在 /usr/share/opera 这个目录中有名为 standard_menu.ini 的模板文件,拷贝到 ~/.opera/menu 目录中,修改下面部分

[Version]

File Version=2

[Info]

Name=guoshuang opera

Description=Opera Standard menu setup

Author=Opera Software ASA

Version=1

[Document Popup Menu]

….

——————–2

Item, 70464 = Add to bookmarks, 1

Item, 50215 = Copy document address

Item, 65178 = Send document address in mail

Item, “Open in Firefox”= Execute program, “firefox”,”%u”

Item, “Open in IE”= Execute program, “iexplore”,”%u”

Item, “提交到365key” = Go to page,”javascript:void(window.open(’http://www.365key.com/storeit.aspx?u=’+escape(document.location)+’&c=’+escape(document.selection.createRange().text)+’&t=’+escape(document.title),”,’location=1′))”,,,”365key”

**注意: 基本完成!不能在选择文字上或者链接上点击;…明天待续修改…

然后在 opera 中按 ctrl+f12 打开 Prefences - Toolbars - Advanced - Menu setup 选择 guoshuang opera,即可。

windows下等会测试…

相关资料:

opera INI file 变量

%s is the filename of local source cache

%t is currently selected text

%c is the clipboard content

%u is active document url

%l is the address of a link you right-click

opera action

Create linked window - Opens a new blank window, within your opera auspices… so that when you touch upon an anchored link on a webpage, the next webpages will be funneled over into that new window.

Open link in new page - Opens an anchored URL within a new page.

customize opera

These commands to turn on/off various bits of the UI look as follows:

View main bar,X

View address bar,X

View page bar,X

View navigation bar,X

View status bar,X

View personal bar,X

View hotlist,X

Enable menu bar | Disable menu bar

Enable scroll bars | Disable scroll bars

The X means:

0 = off

1 = left

2 = top

3 = right

4 = bottom

7 = default location

http://nontroppo.org/wiki/CustomCommands/edit

365key subscribe

java script:u=location.href;t=document.title;c = “” + (window.getSelection ? window.getSelection() : document.getSelection ? document.getSelection() : document.selection.createRange().text); location=”hxxp://www.365key.com/storeit.aspx?noui=yes&jump=close&u=” + escape(u) + “&t=” + escape(t) + “&c=” + escape(c).replace(/ /g, “+”); void 0

[Edit on 2005-5-9 16:31:10 By guoshuang]
[Edit on 2005-5-9 17:56:08 By guoshuang]
[Edit on 2005-5-10 15:54:55 By guoshuang]
[Edit on 2005-5-13 20:41:49 By guoshuang]