Go to comments ↓ Home » 软件心得

轻松用代理:Opera代理设置 进阶篇

opera最近真是好忙,年底了相信大家都一样吧。

继续上次的话题Opera的代理服务器设置,根据op自身的特性,完全可以实现很方便的使用代理

如果还看不懂的或者懒得折腾的直接等下一篇,最后的一篇几乎可以拿来即用的。欢迎订阅以获取最新资料。

本文纯粹是总结心得,不提供任何相关工具和相关网址,评论的同学们也请注意别出现关键词。

opera代理

运行工具并启用相应的代理设置

前面我们说了,快速切换代理设置和调用代理工具的方法,现在我们把这两个给结合起来,实现一键调用代理工具并切换到对应端口。这个是Autoproxy都做不到的。

disable proxy servers & show preferences & show proxy servers & check item & focus next widget & insert,"127.0.0.1" & focus next widget & insert,"9666" & focus next widget & check item & focus next widget & insert,"127.0.0.1" & focus next widget & insert,"9666" & ok & delay,10 & cancel & delay,50 & Execute program,"tools\Proxy\u.exe"

如果无效的话,那么根据自己机器的情况适当加大延迟。

当然这也是有利有弊。可以少点一下,但是有时候只是切换代理却不退出工具就不适合了。

关闭代理工具的方法

有些程序并不需要图像界面,比如Gapproxy,后台运行的话就需要方便的关闭手段。

调用外部程序cmd来结束进程,比较暴力,我喜欢 😛 。
这部分总结自从这个帖子:http://bbs.operachina.com/viewtopic.php?f=30&t=53786
语法如下

execute program,"cmd.exe","/c taskkill /im u.exe /f"

u.exe则是代理工具的名称。
这个算是比较好的方法,不过由于代理工具是被强行结束进程的,一些设置会保存不了。
所以之前要把相关工具都要先配置好,特别是设置不启用IE。

当然cmd只适合Windows。

结束代理工具的时候要禁用代理

execute program,"cmd.exe","/c taskkill /im u.exe /f" & Disable proxy servers

关闭所有代理工具

1.用||来增加cmd的命令

如:

execute program,"cmd.exe","/c taskkill /im u.exe /f /t || taskkill /im fg.exe /f"

2.使用通配符

比如我们先把所有的代理工具命名为fq**.exe,如fqu.exe,fqfg.exe

然后用下面的命令

execute program,"cmd.exe","/c taskkill /im fq* /f /t"

添加网址到例外

jude那挖来的现成按钮,那家伙是真正的玩家。

对话框方式:Add Exception
opera:config方式:opera按钮Add Exception

这个按钮可以很方便的添加将当前网址添加到“首选项”—“高级”—“网络”—“代理服务器”—“以下网址不使用代理服务器”。

启用和禁用Pac文件

Pac文件(自动代理服务器配置),这是个非常强大的应用,并且支持几乎所有浏览器。

不过我也只是加了几个经常上的墙外网站,有机会再研究下。

禁用和启用pac的按钮
opera按钮Autoproxy

采用set命令切换方式,标签多时切换状态会卡,但是可以显示当前状态,所有只是用来看的
另外用对话框方式写了两个,方便大家写代理菜单用。

Item, "开启  » Auto proxy"=Show preferences, ,, , Resume transfer & Show proxy servers & Focus previous widget & Focus previous widget & Focus previous widget & Focus previous widget & Check item & Ok & Delay, 10 & Cancel
Item, "禁用  » Auto proxy"=external action,,,,Stop transfer | show preferences & show proxy servers & Focus previous widget & Focus previous widget & Focus previous widget & Focus previous widget & Focus previous widget & Uncheck item & Ok & Delay, 10 & Cancel

» 转载请以超链接形式注明来源:A.shun Blog » 《轻松用代理:Opera代理设置 进阶篇》
» 本文链接地址:http://shun.im/21335

» 本文采用 BY-NC-SA 协议进行授权。
» 建议通过 Rss( Feedly | Feedburner | Feedsky )方式及时获取更新。
  1. sf

    Firefox 3.6 Firefox 3.6 Windows 7 Windows 7
    #1
    @
  2. 不明真相的群众围观

    Google Chrome 4.0.249.78 Google Chrome 4.0.249.78 Windows 7 Windows 7
    #2
    @
  3. 怎么按钮上会有两个(Ctrl+Enter)呢?

    Google Chrome 4.0.249.78 Google Chrome 4.0.249.78 Windows 7 Windows 7
    #3
    @
  4. 这???不是有个了?

    Google Chrome 4.0.249.78 Google Chrome 4.0.249.78 Windows XP Windows XP
    #4
    @
  5. OP控们有福了!我继续FF+Chrome!

    Firefox 3.6 Firefox 3.6 Windows XP Windows XP
    #5
    @
    • @zwwooooo, 还是专一一定好。比较书签同步麻烦,cookies和会话则根本无法同步。

      Opera 10.10 Opera 10.10 Windows XP Windows XP
  6. 什么啊?

    Google Chrome 4.0.249.78 Google Chrome 4.0.249.78 Windows 7 Windows 7
    #6
    @
  7. 啊~~我的头像还是这样的呀!

    Google Chrome 4.0.249.78 Google Chrome 4.0.249.78 Windows XP Windows XP
    #7
    @
  8. 原来窝瓜喜欢暴力…… ❗
    等下一篇…的沙发。

    Opera 10.10 Opera 10.10 Windows XP Windows XP
    #8
    @
  9. 我要开始学习用插件!
    到现在我所有的浏览器还都没被插件过~ 😀

    Firefox 3.5.7 Firefox 3.5.7 Windows 7 Windows 7
    #9
    @
  10. 太强大了,看得完全没有头绪
    不过感慨一下下,那个叫做u某某的东西不知从何时起在Linux的Wine下不能运行了 :sad:

    Firefox 3.6 Firefox 3.6 GNU/Linux GNU/Linux
    #10
    @
    • @婉秋, 其实基本上都是用execute program调用外部程序,这个文章只能算半原创。

      那个u的在wine下不能用么,那真是可惜了。
      我听喜欢那个的,速度飞快,好带,不用设置。尽管有ssh,u还是我的主力。 😀

      Opera 10.10 Opera 10.10 Windows XP Windows XP
    • @A.shun,
      现在fg是主力了,实在不行了我还有SSH可以用 😆

      Firefox 3.6 Firefox 3.6 GNU/Linux GNU/Linux
    • @婉秋, fg也好啊,特别是在十一那段时间展现出来的强大生存能力,不是其他几款同类能相比的。 :roll:

      Opera 10.10 Opera 10.10 Windows XP Windows XP
  11. 不懂 围观 对Opera的认识只存在于mini 不过我电脑里也下了个OPEAR 发现兼容不佳 所以就放着了 :mrgreen:

    Firefox 3.6 Firefox 3.6 Windows 7 Windows 7
    #11
    @
  12. a.shun 不用FF??

    Firefox 3.6 Firefox 3.6 Windows XP Windows XP
    #12
    @
    • @久酷, 不用, 我很专一的。
      你们估计也会坚持FF,道理是一样的。

      Opera 10.10 Opera 10.10 Windows XP Windows XP
  13. 快成为 Opera 大师了 :smile:

    Firefox 3.5.7 Firefox 3.5.7 Windows 7 Windows 7
    #13
    @
  14. shun真是铁杆的OPfans啊,我是Chrome和FF党…

    Firefox 3.6 Firefox 3.6 Windows 7 Windows 7
    #14
    @
  15. 很多年没有使用过代理了,连代理是什么都快忘了。以前很喜欢找跳板去逛限制级的站点(GOV的)

    TheWorld Browser TheWorld Browser Windows XP Windows XP
    #15
    @
  16. 一直都有收藏代理按钮,但很少用到,因为很少到墙外去逛~

    Opera 10.20 Opera 10.20 Windows XP Windows XP
    #16
    @
  17. 使用IE8和FF的飘过~

    Internet Explorer 8.0 Internet Explorer 8.0 Windows XP Windows XP
    #17
    @
  18. 我都不用Opera浏览器

    Firefox 3.6 Firefox 3.6 Windows XP Windows XP
    #18
    @
  19. 世纪之光

    勤劳的人,尽管没选择opera,但是你的努力值得赞赏,经常出教程。

    Firefox 3.5.7 Firefox 3.5.7 Windows 7 Windows 7
    #19
    @
  20. 可惜我把opera删了

    Internet Explorer 8.0 (Compatibility Mode) Internet Explorer 8.0 (Compatibility Mode) Windows XP Windows XP
    #20
    @
  21. 前来恭喜ashun的新文章,又学会一些新东西。

    Opera 10.10 Opera 10.10 Windows XP Windows XP
    #21
    @
  22. 太专业了吧,OP能永成这样

    Internet Explorer 8.0 Internet Explorer 8.0 Windows XP Windows XP
    #22
    @
  23. Opera不是ie内核,用到网银支付宝还得用ie的。鉴于此暂时不考虑 ❗

    Internet Explorer 6.0 Internet Explorer 6.0 Windows XP Windows XP
    #23
    @
    • @sk, 支付宝现在可以用Safari等WebKit内核的浏览器,网银国外的几乎所有有网银的银行以及国内的浦发、中行等部分银行也支持非Trident内核的浏览器了

      Safari 4.0.4 Safari 4.0.4 Mac OS X 10.6.2 Mac OS X 10.6.2
    • @lovee,
      其实还是不行的。看来你不是支付宝的重度用户。
      win下的FF、Op、chrome和mac的safari对有支付宝控件。
      但是致命的问题:

      证书用户目前只能在Windows 2000/XP/Vista系统及IE6/IE7下进行支付宝资金操作。

      Opera 10.10 Opera 10.10 Windows XP Windows XP
    • @A.shun, 嘛,所以用国外的网银或者Paypal的最大好处就是根本不用担心任何平台问题——兲朝人只认识XP,认识个Vista都是很了不起的了 😡

      Safari 4.0.4 Safari 4.0.4 Mac OS X 10.6.2 Mac OS X 10.6.2
    • @lovee, 关键是国内的很多购物网站不支持paypal。国外网银要扣手续费之类的。
      这个环境下,支付宝无疑是最方便最实在的。
      通讯、水电费和购物都可以快速支付。貌似没什么有竞争力的东西。 😡

      Opera 10.10 Opera 10.10 Windows XP Windows XP
    • @A.shun, 所以墙外用户表示没有鸭梨啊 😆
      8过支付宝倒是肯定不久的将来会做出全平台支持的,相比之下倒是某些顽固不化的兲朝银行才是最大的问题

      Safari 4.0.4 Safari 4.0.4 Mac OS X 10.6.2 Mac OS X 10.6.2
    • @lovee, 是的,阿里巴巴不会短视,肯定会走在前头的 😀

      Opera 10.10 Opera 10.10 Windows XP Windows XP
    • @A.shun, 赶快推出外国银行支持吧 😎

      Safari 4.0.4 Safari 4.0.4 Mac OS X 10.6.2 Mac OS X 10.6.2
    • @sk, 我支付宝用得也挺多的。
      但我宁愿需要是切换下浏览器,平时的体验更重要。

      Opera 10.10 Opera 10.10 Windows XP Windows XP
  24. opera turbo 通过修改连接服务器的IP也可以达到神奇的效果~

    Opera 10.10 Opera 10.10 Windows XP Windows XP
    #24
    @
    • @arzusyume, 那个只对ip屏蔽有效。
      dns劫持和域名封锁则不行。平时懒得去判断。 😀

      Opera 10.10 Opera 10.10 Windows XP Windows XP
  25. 介个介个~~ 我还是路过吧 ❗

    360Safe Explorer 360Safe Explorer Windows XP Windows XP
    #25
    @
  26. 标记一下,说不定以后我转用OP了 😀

    Firefox 3.5.5 Firefox 3.5.5 Windows XP Windows XP
    #26
    @
  27. 原来pac是好东西~~去研究研究 😐 ~~话说洋葱还是很方便的,调用外部命令反倒麻烦了 ❗ ~~

    Opera 10.10 Opera 10.10 Windows Vista Windows Vista
    #27
    @
    • @A.L., – –
      这两种有可比性么。
      pac管理针对部分网站的代理
      tor也是要运行的, 我不喜欢开机自启动。需要再开。
      再说了,tor很慢,一般不用。

      Opera 10.10 Opera 10.10 Windows XP Windows XP
    • @A.shun, 嘛~本来就是说两个东西~~洋葱最近很RP几乎是带宽上限~~

      Opera 10.10 Opera 10.10 Windows Vista Windows Vista
  28. 现在不玩这个了,有的很慢,有的玩几天就不能玩了。

    Firefox 3.6 Firefox 3.6 Windows XP Windows XP
    #28
    @
  29. 我也要有空研究插件了

    Google Chrome 4.0.302.2 Google Chrome 4.0.302.2 Mac OS X 10.6.2 Mac OS X 10.6.2
    #29
    @
    • @ELL, Opera机会没有扩展程序呢。
      不过可以修改配置文件和使用userjs、css

      Opera 10.10 Opera 10.10 Windows XP Windows XP
  30. OP控的通关密码。 :smile:

    Firefox 3.6 Firefox 3.6 Windows 7 Windows 7
    #30
    @
  31. Auto…自动化….偶是懒人..非到紧急关头都不折腾 😎

    Google Chrome 4.0.302.2 Google Chrome 4.0.302.2 Windows XP Windows XP
    #31
    @
  32. opera就是垃圾

    Internet Explorer 7.0 Internet Explorer 7.0 Windows XP Windows XP
    #32
    @
    • @风吟, 依据何在呢

      Opera 10.10 Opera 10.10 Windows XP Windows XP
    • @风吟,
      有一天,苏东坡和佛印大师在一条船上喝酒,苏东坡想耍佛印和尚,于是就问佛印和尚:你说我在你眼里是什么样的一个形象?
      佛印说:你在我眼里是一个鲜花环绕的佛陀!
      苏东坡说:你知道你在我眼里是一个什么形象吗?
      佛印微笑不语。
      苏东坡说:你在我眼里是一坨臭的要命的屎!!!哈哈!!
      佛印依旧微笑不语。
      苏东坡大笑着回家了并且告诉了他的妹妹苏小妹,苏小妹笑了:你知道吗?佛印和尚因为自己是佛,所以他看你是佛,你自己是一坨臭的要命的屎,所以你看他才是一坨臭的要命的屎啊!

      从某种意义上说,一个人心中有什么,他看到的就是什么。

      Opera 10.10 Opera 10.10 Windows XP Windows XP
    • @A.shun, 你叫我窝瓜,原来是因为你自己是窝瓜。 😛
      10.5的地址栏用着真舒服。这次试试看能不能多用段时间,以前都是折腾俩下就删了。

      Opera 10.50 Opera 10.50 Windows XP Windows XP
  33. 感觉Opera来的不如Firefox方便啊,可能用惯Firefox了,毕竟插件的力量是强大的。

    Firefox 3.6 Firefox 3.6 Windows 7 Windows 7
    #33
    @
  34. 我凑个热闹~~

    Firefox 3.6 Firefox 3.6 Windows XP Windows XP
    #34
    @
  35. 继续使用FF~~~~~

    Firefox 3.6 Firefox 3.6 Windows XP Windows XP
    #35
    @
  36. 我好像被你的AK干掉了~~~

    Firefox 3.6 Firefox 3.6 Windows XP Windows XP
    #36
    @
  37. 三七八蛋

    第一选择还是FF啊。

    Firefox 3.5.7 Firefox 3.5.7 Windows XP Windows XP
    #37
    @
  38. 我用FF。

    Internet Explorer 8.0 Internet Explorer 8.0 Windows XP Windows XP
    #38
    @
  39. 推广用的是360技术用的是谷歌。享受用的是OPER,OK回家。

    360Safe Explorer 360Safe Explorer Windows XP Windows XP
    #39
    @
  40. 好专业的过程
    我用FF
    飘过吧。

    Firefox 3.5.7 Firefox 3.5.7 Windows XP Windows XP
    #40
    @
  41. 我最近也忙的厉害,晕了

    Firefox 3.5.7 Firefox 3.5.7 Windows XP Windows XP
    #41
    @
  42. 看来阁下是opera的忠实拥泵啊

    Internet Explorer 8.0 Internet Explorer 8.0 Windows 7 Windows 7
    #42
    @
  43. 还是习惯FF,虽然打开速度慢。

    Firefox 3.5.7 Firefox 3.5.7 Windows XP Windows XP
    #43
    @
  44. FF的插件比较多,要实现起来比较方便

    Opera 10.10 Opera 10.10 Windows XP Windows XP
    #44
    @
  45. 在jude那里获得了一个代理开关和切换的组合按钮,自己组合了下打开代理工具和编辑PAC的功能,不过用了pac就基本不用关闭代理了,倒是在想怎么样写PAC,在切换代理的同时,PAC也能自动调用,因为我只设置了一个代理工具,手动编辑有点小麻烦,不过实际上倒也没有设多个的必要

    Opera 10.10 Opera 10.10 Windows XP Windows XP
    #45
    @
    • @纯粹, 这个问题我考虑下

      Opera 10.10 Opera 10.10 Windows XP Windows XP
    • @纯粹, jude那个按钮很麻烦,要修改皮肤。= =
      在切换代理的同时,PAC也能自动调用??

      我还是没明白什么意思?
      切换代理的时候就用代理的端口啊,pac在切换的时候自动关掉不就好了?

      Opera 10.10 Opera 10.10 Windows XP Windows XP
    • @A.shun, 不用改主题啊。我的意思是切换代理工具的时候,pac也能自动调用新的端口,因为我只在pac里设置了U的端口,其他的没弄。逻辑上可以在pac里多加几个端口,然后循环调用不同的端口,不过我不知道该怎么写。切换的时候关掉pac倒是比较方便,不过关掉pac就变成全局代理了。。实际上,用一个代理工具就OK了

      Opera 10.10 Opera 10.10 Windows XP Windows XP
    • @纯粹,
      还是不解- –
      切换代理的时候就直接用全局啊。全局并禁用pac。
      还有,既然用一个代理工具就OK,那干嘛要切换呢?

      不过pac确实是可以调用不同的端口的,我也不清楚,最近很忙,过段时间研究吧。 :smile:

      Opera 10.10 Opera 10.10 Windows XP Windows XP
    • @A.shun, 囧我表达不行。我意思就是切换代理的同时也能用pac,而且不需要修改pac。代理OK当然不用换,说的就是不OK的时候可以一键切换而不用改pac。好像年底了大家都忙啊,忙办年货么?哇嘎嘎 😀

      Firefox 3.5.7 Firefox 3.5.7 Windows XP Windows XP
    • @纯粹, 那个只能在pac的写法上做文章了,但代理不成功自动用下一个。
      工作忙啊,哪里还办年货- –

      Opera 10.50 Opera 10.50 Windows XP Windows XP
  46. 建议A.shun写篇360℃流忙一类的文章,再推荐一下op,刚才看了一个统计,op用户好少啊。想来从流忙那里强人不算卑鄙吧。 😛

    Opera 10.10 Opera 10.10 Windows 7 Windows 7
    #46
    @
  47. 感觉还是ff来的方便~~

    Firefox 3.6 Firefox 3.6 Windows 7 Windows 7
    #47
    @
  48. 快放假了
    呵呵。

    Firefox 3.5.7 Firefox 3.5.7 Windows XP Windows XP
    #48
    @
  49. 白银时代

    用的IE8,有时候测试东西会耍耍FF,偶尔虚拟机里面跑跑OP。
    习惯了微软的产品了。

    Internet Explorer 8.0 Internet Explorer 8.0 Windows 7 Windows 7
    #49
    @
  50. 实在是…确实觉得火狐的代理用起来方便一些

    Opera 10.53 Opera 10.53 Windows XP Windows XP
    #50
    @
Leave a Reply to socekin

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

点击这里取消回复。