"脚本来自... is requesting enhanced abilities that are UNSAFE ..."

最后编辑了

症状

录制或重放时,您正在从Firefox 3.x获取此错误消息:

脚本来自“file://”请求增强的功能不安全,可用于损害您的机器或数据:

在您的机器上运行或安装软件

只有在您信任此源不含病毒或恶意计划的情况下,才允许这些能力。

[]记住这个决定

[允许否认]

可能的原因:缺少首选项的权限

squ tries to add permissions to avoid this error message to the file prefs.js of the default Firefox profile. However, for several reasons this may fail.

If this occurs, please add these entries to the prefs.js file yourself.

此文件驻留在Windows上:

%APPDATA%\Mozilla\Firefox\Profiles\<profile_identifier>\prefs.js

要打开路径,只需启动Windows资源管理器并输入“%appdata%\ mozilla \ firefox \ profiles“(双引号)进入其路径文本字段,然后按Return。

Please note that <profile_identifier> is a random value.

Please also note that if there is more than one folder in %APPDATA%\Mozilla\Firefox\Profiles this means that you cannot tell which of these is the default profile. To keep it simple it is suggested that you do the steps below for every prefs.js file in every profile folder then.

Open prefs.js with Notepad and add the following entries at the bottom (as new lines):

我们 er_pref("capability.principal.codebase.Squish.granted", "UniversalXPConnect");
user_pref("capability.principal.codebase.Squish.id", "file://<SQUISH_DIR/lib/mozinit.html");

Please note that <SQUISH_DIR> must be the path to your Squish for Web installation. For example: C:\Users\myuser\squish-4.2-web-win32-20120130-1700\lib\mozinit.html.

这是一个例子;请注意,此时间路径包含正斜杠(“/”)。但也可以使用后向斜杠(“”):

我们 er_pref("capability.principal.codebase.Squish.granted", "UniversalXPConnect");
user_pref("capability.principal.codebase.Squish.id", "file://C:/Users/myuser/squish-4.2-web-win32-20120130-1700/lib/mozinit.html");