Is there a way in javascript (or other) to handle a magnet link without the browser losing the focus? It'd be a little like opening a tab in the background without leaving the current page.
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
I recently had a similar problem, and was able to solve it by creating a named frame on the page and using it as the target for
window.open
:another solution by using chrome API.
chrome.tabs.update({url: magnet_uri});