问题描述
我使用基于Web的Feed阅读器,。当通过进名单筛选,我想在新标签中打开有趣的文章 - 但背景的,因为我想读他们后,才通过所有饲料项目去了。
I'm using a web-based feed reader, TinyTinyRSS. When sifting through the feed lists, I'd like to open interesting articles in new tabs - but in the background, because I want to read them only after I went through all feed items.
TT-RSS有一个快捷键O打开一个新的标签页的文章,但它在前台打开的选项卡( window.open
)
TT-RSS has a shortcut key "o" to open the article in a new tab, but it opens the tab in the foreground (window.open
).
现在的问题是:要解决TT-RSS,我需要知道的如何从JavaScript打开后台标签页即可。这将会是真棒,如果解决跨浏览器(火狐,Chrome,歌剧,Safari)。工作
The question is now: To fix TT-RSS, I need to know how to open a background tab from javascript. It'd be awesome if the solution worked across browsers (Firefox, Chrome, Opera, Safari).
我了解的隐私问题,而拥有它使一个认证网页就可以了。
I understand the privacy issue about that, but having it enabled for one certified webpage is ok.
在 about:config中
,设置 browser.tabs.loadDivertedInBackground
到真实
。
这将打开所有选项卡从后台页面,这不是我想要的东西 - 我想这只是对一个应用程序/网站
In about:config
, set browser.tabs.loadDivertedInBackground
to true
.This opens all the tabs from pages in the background, which is not what I want - I want it only for the one application/website.
浏览器有一个。工作仅在铬,是所有网页。
Chrome has a shytab extension. Works in chrome only and is for all pages.
推荐答案
返回时,弹出式广告是一个东西,这个被称为背后弹出式窗口窗口。 Popunders用来做这样的事情:
Back when popup ads were a thing, this was called a "popunder" window. Popunders used to do something like this:
var popupWindow = window.open(...);
popupWindow.blur();
window.focus();
弹出窗口阻止样的什么什么,不工作,你though-里程可能会有所不同各地的混乱。
Popup blocking kind of messed around with what does and doesn't work, though- your mileage may vary.
这篇关于在后台打开一个新的浏览器标签编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!