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