所以当你要学习的时候,我不知道 javascript,但这似乎应该可以工作:
var whitelistURLPartials = ["ae\=Folder","ae\=Item\&t\=IPM\.Note"];
var current = window.location.href;
for (var whitelist in whitelistURLPartials)
{
if(current.match(whitelist))
{
window.setTimeout(function(){document.location.reload(true)},1000*60);
break;
}
}
但我明白了6: ReferenceError: Can't find variable: whitelistURLPartials
如果重要的话,这是一个野生动物园扩展。
编辑:
Safari 似乎保留了 .js 文件的每个版本,来自加载的每个更改版本的扩展。我不得不重新启动 Safari 以清除它们。