浏览器ua为opera设置_在Opera浏览器中设置用户脚本

浏览器ua为opera设置

浏览器ua为opera设置

Wanting to add some wonderful extension-style functionality to your Opera Browser? Now you can with a little bit of user script magic.

是否想为Opera浏览器添加一些出色的扩展样式功能? 现在,您可以使用一些用户脚本魔术了。

Note: When looking at user scripts, check to make certain that they are compatible with Opera.

注意:查看用户脚本时,请检查以确保它们与Opera兼容。

Set Up the User Scripts Folder

设置用户脚本文件夹

For this tutorial we are using Opera 10.00.1750 running on Windows Vista (32-bit). The best place to start is with the new home for your user scripts. Using your favorite file manager app, access the Opera Browser Folder in Program Files as shown below.

在本教程中,我们使用Windows Vista(32位)上运行的Opera 10.00.1750。 最好的起点是使用用户脚本的新家。 使用您喜欢的文件管理器应用程序,如下所示访问Program Files中的Opera Browser文件夹。

opera-script-01

You will need to add a new folder with a name that best suits your needs. Here we have named ours User Scripts…

您将需要添加一个最适合您需要的名称的新文件夹。 在这里,我们已命名我们的用户脚本…

opera-script-02

Once you have finished creating the new folder, add your new user scripts to the folder as shown below. For reference purposes you may choose to rename the files to make it easy to identify which one is which later (user script files have a numeric designation when you download them).

完成创建新文件夹后,如下所示将新的用户脚本添加到该文件夹​​中。 作为参考,您可以选择重命名文件,以便以后轻松识别哪个文件 ( 下载时用户脚本文件带有数字名称 )。

Note: If you choose to rename the user scripts, it is recommended to leave the “.user” part of the name intact.

注意:如果选择重命名用户脚本,建议保留名称的“ .user”部分不变。

opera-script-03

Set Up Access to Your New User Scripts

设置对新用户脚本的访问权限

Now that you have your user scripts in their new home, it is time to modify Opera’s settings so that your browser can access them. Go to the “Tools Menu” and click on “Preferences…”.

现在您已将用户脚本保存在新的位置,现在该修改Opera的设置了,以便您的浏览器可以访问它们。 转到“工具菜单”,然后单击“首选项...”。

opera-script-04

Once you click on “Preferences…”, it will open up this window. Open the “Advanced Tab” and select “Content” on the left side. Once you have the “Content Section” displayed click on “JavaScript options…”.

单击“首选项...”后,它将打开此窗口。 打开“高级选项卡”,然后在左侧选择“内容”。 显示“内容部分”后,单击“ JavaScript选项...”。

opera-script-05

Clicking on “JavaScript options…” opens this window. At the bottom you will need to click on “Choose…” and browse for the new folder that you created for your user scripts.

单击“ JavaScript选项...”打开此窗口。 在底部,您将需要单击“选择…”并浏览为用户脚本创建的新文件夹。

opera-script-06

Once you have located and selected your user scripts folder, the “Target Path” will be displayed as shown below. Click “OK” to finish and close the window.

找到并选择用户脚本文件夹后,将显示“目标路径”,如下所示。 单击“确定”完成并关闭窗口。

opera-script-07

Once you have closed the JavaScript Options Window, you will be returned to the Preferences Window. To completely finish things up click on “OK”.

关闭JavaScript选项窗口后,您将返回到“偏好设置”窗口。 要完成所有操作,请单击“确定”。

opera-script-08

Now your browser is ready to go and you can start having fun with all of that extra functionality!

现在您的浏览器已准备就绪,您可以开始使用所有这些额外的功能!

opera-script-09

Conclusion

结论

User scripts provide a wonderful way to add those special little tweaks and functions into Opera or any other browser. Have fun!

用户脚本提供了一种极好的方法,可以将这些特殊的小调整和功能添加到Opera或任何其他浏览器中。 玩得开心!

Links

链接

Get User Scripts at Userscripts.org

在Userscripts.org上获取用户脚本

翻译自: https://www.howtogeek.com/howto/3986/set-up-user-scripts-in-opera-browser/

浏览器ua为opera设置

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值