Opera教程:掌控链接的打开方式
前面我们讲了一些Opera中快速搜索的技巧,现在我来分享一些关于打开链接和标签的心得。
多标签是浏览器的重大进步,但由此同时,选择多了,也有了不同的习惯,关于链接打开方式的问题始终不少。
也就有了这样的疑问:打开链接的最佳方法是什么?
答案是:链接的打开方式应该由我们自己来决定,而非网站开发者。
此文属于Opera系列教程之一。如果你感兴趣,欢迎进行订阅。
2010.03.19重新整理,将与oc上的同步更新,虽然略有不同。
情况分析和主要思路
一般情况有:
- 新标签打开
- 后台标签打开
- 当标签打开
- 新窗口打开
- 后台新窗口
- 批量打开链接
以上每种情况提供楼尽可能多的方式,选择顺手的即可。
我个人的操作习惯是这样的,单击链接在当前页打开,拖拽在新标签打开,手势就是在后台标签打开。
1.新标签打开链接
1.1 左键拖拽
将opera:config#Enable Drag
的值设置为255
1.2 鼠标手势
命令为:
Open link in new page
我们可以这样写
GestureUp=Open link in new page
在页面的链接右键向上拖,则在新标签打开该链接
1.3 中键单击
opera:config#UserPrefs|CenterMousebuttonAction设置为1
2.后台新标签打开链接
这几乎是出现频率最高的问题。希望同学们提问之前能先搜索一下
2.1 左键点击
将opera:config#Target Destination的值设置为2
直接用左键点击链接的话,大多数情况下会在新标签打开。
2.2 单击中键
这是Opera默认的方法,但是一般提问者无法满意这个答案,先不说部分鼠标没有中键,主要是中键的手感一般都不如左右键。纯属凑数。
opera:config#UserPrefs|CenterMousebuttonAction为2表示后台新标签打开。
2.3 Ctrl+shift+左键单击
这也是官方默认的按键,需要用到三个键- -汗。
Ctrl+shift+回车也是这一样的效果。同样,感觉按键太多,意义不大,也只是罗列出来。
2.4 鼠标手势
加入以下两个手势这就实现了用鼠标右键把链接向上或向下拖,实现在后台新标签打开。
命令为:
Open link in background page
我们习惯上这么写
GestureUp=Open link in new page | Go to start GestureDown=Open link in background page | Go to end
强烈推荐此方式:手势可以实现的功能更加丰富,而且对于后台打开频繁的人来说,这样可以平衡鼠标左右键的使用率,减少手指疲劳和延长鼠标寿命。
2.5 左键拖拽
很多人从Maxthon那养成的习惯,唉。
先将opera:config#Enable Drag的值设置为255。
9.63以上,10.2以下版本,并勾选opera:config#open new window in background即可。
10.51则勾选opera:config#UserPrefs|OpenDraggedLinkInBackground,感谢卡农的提醒。
10.50是个杯具。
2.6 Ctrl+左键单击
这个只能用js实现,需要两只手还要js,没啥必要。
详情请见:http://bbs.operachina.com/viewtopic.php?f=41&t=14927
3.左键单击当前标签打开链接
这个其实是默认的,但是因为target=”_blank”属性等的存在,有时候会带来一些麻烦。
始终坚持:链接的打开方式应该由我们自己来决定,而非网站开发者。好在op可以无视它。
下面的方法同样也解决了下载时弹出空白页面的问题。
3.1 SingleWindowBrowsing
勾选opera:config#UserPrefs|SingleWindowBrowsing
这样当前页的所有链接,均在一个页面中打开,包括弹窗。
3.2 Ignore Target
使用opera:config#Ignore Target来忽略链接的target属性。
但是,这样会变成默认拦截所有的弹出窗口。如果你不用到弹出窗口的话可以用这个方法。
3.3 使用UserCSS
a[href][target='_blank'] { -o-link:attr(href) !important; -o-link-source:current !important; }
将上面这段代码存为一个css文件,放在你的css目录中,然后在菜单—页面—样式中勾选即可。
4.链接在新窗口打开
前面说了,多标签的发明是浏览器的一个重大进步,但是众口难调,始终还是有偏执狂喜欢单标签多窗口- –
4.1 单标签模式
这也可以,在“首选项”—“高级”—“标签页”—“增加的标签选项”中,勾选“打开窗口而不是标签页”。
好了,满足你怀旧的欲望,嘿。
4.2 中键单击
如果新窗口打开不是主要操作,但依然需要,那么我们也使用中键。
opera:config#UserPrefs|CenterMousebuttonAction设置为3
5.后台新窗口打开
中键点击,opera:config#UserPrefs|CenterMousebuttonAction设置为4
6.批量打开链接
推荐:
Snap-Links.js(快速打开多个链接)1.5.6修改版(支持Opera 10.50)
如果是打开书签和历史,可以用ctrl、shift来选择多个同时打开,手势也有效。
本文讲的都是比较常用的Opera使用技巧。好了,让我们一起来掌控链接的打开方式。
» 转载请以超链接形式注明来源:A.shun Blog » 《Opera教程:掌控链接的打开方式》
» 本文链接地址:http://shun.im/21298
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 346
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 348
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /www/wwwroot/ashun/shun.im/wp-content/themes/zova/functions.php on line 350