[整理]新手上路指南
写给和我一样才用Opera不久的朋友,希望能有所帮助。
*************************************************************************************************
1、界面文字显示大小的问题
运行Opera中文版后,是不是发现有的字体很小,显示不正常呢?没有关系,工具——首选项——字体,将最小字体像素设置为12,如果还有不对的地方,设置里面所有的字体为宋体就行了。
2、编码问题
是不是有的网页显示为乱码呢? 首选项——常规——详细信息,对没有指定编码的网页应用的编码,设置为gbk。
3、在右键菜单增加“编码”项目
有时候还是需要自己切换编码,使用菜单显然不方便,在右键菜单中增加一个编码的选项就很方便了。
查找standard_menu.ini这个文件,找到其中的[Document Popup Menu],在下面添加如下内容:
Submenu, 70233, My Encoding Menu =
[My Encoding Menu]
Item, 51750 = Set encoding, ""
--------------------1
Item, 67453 = Set encoding, "gb18030"
Item, 51782 = Set encoding, "gbk"
Item, 51780 = Set encoding, "big5"
Item, 51751 = Set encoding, "utf-8"
Item, 51779 = Set encoding, "iso-2022-jp"
保存后重新运行Opera就行了。
4、删除不需要的右键菜单和主菜单项目
有的项目是我们不喜欢用的,比在“在新窗口中打开”和“在后台窗口打开”等等(注意,不是在新的标签中打开)。打开Opera安装目录下面的 Zh_CN.lng文件(可能名字不一样,但是后缀是lng),查找想要删除的项目名称,比如查找“在新窗口中打开”,我们可以找到一段文字“68009 ="在新窗口中打开"”,现在再打开standard_menu.ini,查找68009,删除包含68009的那一行即可。同理,可以删除"在后台窗口中打开"这个项目,代码是68010。
5、广告过滤
(1)在Opera的安装目录下新建一个filter.ini文件,我的文件内容如下:
复制内容到剪贴板
代码:
; filter.ini
; This file is part of the Opera Browser.
[prefs]
prioritize excludelist=1
[include]
*
[exclude]
http://ad.*
http://www.139flash.com/*
http://*.ad.*
http://*/ad.*
http://*.unionsky.*
http://*.ad-*
http://*.ad.*
http://*/ad/*
http://*/ads/*
http://*/adview.*
http://*/banner/*
http://*/Ggao/*
http://*/adspic/*
http://www.booksky.biz/tom.aspx
http://www.skycn.com/popup_index.htm
http://www.skycn.com/images/ads*.gif
http://www.139flash.com/*
http://ww*.skycn.com/tuijianimg/*
http://www.adkey.cn/*
http://sogou.com/cpc/*
http://*/js/*
http://*adsence.sogou.com/*
http://cpro.baidu.com/cpro/*
http://*hotadv.com/*
http://*union*.*kingsoft.com/*
http://*pagead*.googlesyndication.com/*
http://*/gg/*
http://bbs3.btbbt.com/images/space.gif
http://bbs1.btbbt.com/bbs1.gif
http://*.yieldmanager.com/*
http://www.redcross.org/*
http://*/banner/*
http://banner.*
http://www.booksky.biz/pop.aspx
http://*.114.com.cn/*
http://*/banners/*
http://*.swf*
http://www.bbs9.net/*
http://www.mylead.cn/*
http://ad*.*.*/*
http://www.haosf.com/*
http://*/adpics/*
http://www.lc165.com/*
http://*.ads*.*/*
http://bbs*.btbbt.com/baidu.htm
http://www.btbbt.com/ty.htm
http://bbs*.btbbt.com/WaitAd.js
http://bbs*.btbbt.com/ddd.js
http://www*.itsun.com/*
http://www.yunxiaoge.com/configs/article/pagetop.js
http://www.google-analytics.com/urchin.js
http://www.crsky.com/in_top3.js
http://*.1tong.com.cn/*
http://ulink*.tom.com/*
http://*.chinabbs.com/*后面可以自己添加。然后打开Opera6.ini,在[Adv User Prefs]这个下面增加
URL Filter File=D:\Program Files\Opera\filter.ini
路径自己设定,我的filter.ini放在=D:\Program Files\Opera\中,所以是这样。这下完美了。
(2)在standard_menu.ini中,找到[Image Link Popup Menu],在“Item, 56064= Show image properties”的下方,添加如下内容:
Item, "添加到过滤列表"= Copy image address & Execute program,"C:\WINNT\notepad.exe","D:\Program Files\Opera\filter.ini"
说明:“C:\WINNT\notepad.exe”中的notepad.exe请使用自己的目录,同样,“D:\Program Files\Opera\filter.ini”中的filter.ini请使用自己的目录。
(3)在standard_menu.ini中,找到[Image Popup Menu],在“Item, 56064= Show image properties”的下方,添加和上面一样的内容。
(4)重新运行Opera。
6、无法在动网论坛(dvbbs)发帖回帖。
9.0预览版,开启首选项——高级——内容,里面的“启用内嵌框架”。
7、超级拖拽
在Opera6.ini文件的[User Prefs]区段下增加Enable Drag=255
8、自定义鼠标手势
把下面这段文本保存为MyStyleMouseGesture.ini,然后放到C:\Documents and Settings\你的用户名\Application Data\Opera\Opera\profile\mouse里面,重新运行Opera,在首选项——高级——快捷键——鼠标设置那里选择这个脚本。
Opera Preferences version 2.0
; Do not edit this file while Opera is running
; This file is stored in UTF-8 encoding
[Version]
File Version=1
[Info]
Description=Compatible with Opera 7.x - 8.x
Version=1.0 Build 20050823
NAME=My Style Mouse Gesture
[Application]
GestureLeft=Back
GestureLeft shift=Back
GestureLeft, GestureDown=Back
GestureRight=Forward
GestureRight shift=Forward
GestureRight, GestureUp=Forward
GestureUp=Stop
GestureUp, GestureDown=Reload
GestureUp, GestureLeft=Switch to previous page
GestureUp, GestureRight=Switch to next page
GestureDown, GestureLeft=Undo
GestureDown, GestureRight=Close page & Switch to previous page
GestureDown=Open link in background page | Duplicate page
GestureDown, GestureUp=Reload
说明:“下-右”设置为关闭当前标签并切换到前一个标签,“下-左”为恢复刚才关闭的标签,“上”为停止,“下”为后台开启一个新标签,“上-下”“下-上”都是刷新。