博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
在Google Chrome中隐藏Flash动画
阅读量:2515 次
发布时间:2019-05-11

本文共 3051 字,大约阅读时间需要 10 分钟。

Looking for an easy way to deal with those annoying flash elements in webpages while browsing with Chrome? Now you can with the BlockFlash2 User Script.

寻找使用Chrome浏览时处理网页中烦人的Flash元素的简便方法吗? 现在,您可以使用BlockFlash2用户脚本。

Prepare Chrome for User Scripts

为用户脚本准备Chrome

To add user scripts to Chrome, you will need to do a little bit of prep work to get everything ready. Locate the shortcut(s) for Chrome and right click on them. Select “Properties”.

要将用户脚本添加到Chrome,您需要做一些准备工作以使一切就绪。 找到Chrome的快捷方式,然后右键单击它们。 选择“属性”。

chrome-flashblock-01

Once you have clicked through, you will see the “Properties” window with the “Shortcut” tab displayed.

单击后,将显示“属性”窗口,其中显示“快捷方式”选项卡。

chrome-flashblock-02

In the address area for “Target:” you will need to add the following command to the end of the target path making certain to leave a single space in between the final quote mark and the enable user scripts command.

在“目标:”的地址区域中,您需要在目标路径的末尾添加以下命令,以确保在最终引号和enable user scripts命令之间留一个空格

chrome-flashblock-03

Here is an example of what the the target path should look like…

这是目标路径应为什么样的示例……

chrome-flashblock-04

Once you have that finished, click “Apply”, then “OK”.

完成后,单击“应用”,然后单击“确定”。

Place the User Script in the Appropriate Location

将用户脚本放在适当的位置

Now that you have all of your shortcuts ready, it is time to place your new user script in the User Scripts Folder. First, you will need to locate the Google folder in your AppData Directory.

现在您已经准备好所有快捷方式,是时候将新的用户脚本放在“用户脚本”文件夹中了。 首先,您需要在AppData目录中找到Google文件夹。

Work through the following folder hierarchy: AppData –> Local –> Google –> Chrome –> User Data –> Default

通过以下文件夹层次结构进行工作:AppData –>本地–> Google –> Chrome –>用户数据–>默认

If you do not have a folder named “User Scripts” in the Default Folder, then you will need to create one. Make certain to include the “s” at the end. All that you need to do after that is add your new user script to the folder.

如果默认文件夹中没有名为“用户脚本”的文件夹,则需要创建一个。 确保在末尾包含“ s”。 之后,您需要做的就是将新的用户脚本添加到该文件夹​​中。

Note: When you download the user script, it will have the following name: “45343.user.js”. We have replaced “45343” with “blockflash2” to make it easier to tell different user scripts apart as we add in additional scripts later.

注意:下载用户脚本时,它将具有以下名称:“ 45343.user.js”。 我们将“ 45343”替换为“ blockflash2”,以便在以后添加其他脚本时更容易区分不同的用户脚本。

chrome-flashblock-05

BlockFlash2 in Action

运行中的BlockFlash2

How does it look after setting up the user script? We decided to visit NBC’s Merlin website for our example. As you can see, two flash elements are displaying as hidden and are designated by the yellow text boxes. To access a hidden flash element click on “[Play Flash]”…

设置用户脚本后的外观如何? 我们决定以NBC的Merlin网站为例。 如您所见,两个flash元素显示为隐藏,并由黄色文本框指定。 要访问隐藏的Flash元素,请单击“ [Play Flash]”。

chrome-flashblock-06

And there is our hidden flash element displaying without any problems. To re-hide a flash element, simply click on “[Stop Flash]”.

而且隐藏的Flash元素显示没有任何问题。 要重新隐藏Flash元素,只需单击“ [Stop Flash]”。

chrome-flashblock-07

Conclusion

结论

BlockFlash2 makes a nice addition to Google Chrome…access what you want and hide the rest!

BlockFlash2是Google Chrome的不错的补充……访问所需内容并隐藏其余内容!

Links

链接

Installed On: Windows Vista (32 bit), Service Pack 2

安装于: Windows Vista(32位),Service Pack 2

翻译自:

转载地址:http://mgcwd.baihongyu.com/

你可能感兴趣的文章
vim 程序编辑器
查看>>
LIS(单调队列优化 C++ 版)(施工ing)
查看>>
刚接触Vuex
查看>>
四种加载React数据的技术对比(Meteor 转)
查看>>
Airthmetic_Approching
查看>>
操作文本文件
查看>>
公司项目的几个问题
查看>>
解决win7下打开Excel2007,报“向程序发送命令时出现问题”的错误
查看>>
Velocity快速入门教程
查看>>
关于集合常见的问题
查看>>
车牌正则表达式
查看>>
使用类的成员函数来实现回调函数
查看>>
Win form碎知识点
查看>>
避免使用不必要的浮动
查看>>
cocos2dx 编辑框 CCEditBox
查看>>
第一节:ASP.NET开发环境配置
查看>>
PHP全栈学习笔记7
查看>>
表单脚本基础知识
查看>>
开源分享 Unity3d客户端与C#分布式服务端游戏框架
查看>>
浏览器默认缓存时间-(为什么浏览器时而缓存,时而不缓存)
查看>>