0
我经常需要在firefox中的标签中的某个页面打开〜40-50个链接。绕过打开链接js限制
我正在为此编写用户脚本,但有问题。 Firefox默默不允许打开超过20个选项卡。有什么办法可以绕过这个限制吗?它是供个人使用的,所以如果可以帮助的话,我可以更改浏览器设置。
我有这样的代码:
$(document).ready(function(){
if ($("article").length > 19)
{
alert($("article").length);
// show me 40, all elements have the same structure
$("article").each(function() {
$(this).find("a").each(function(){
window.open($(this).attr("href"));
// open only 20 tabs, no errors in console.
})
});
}
});
这似乎是更适合[超级用户](http://www.superuser.com)? – leigero