R
R
ReDeNDeR2022-02-07 17:22:22
JavaScript
ReDeNDeR, 2022-02-07 17:22:22

How to open a link in a new tab with JavaScript?

Good afternoon, I am writing extensions for a browser that should open YouTube videos in a new tab. Do not get a link from the page code and open it in a new tab, but open it as a user (Like right-click on the video and click open the video in a new tab). Thank you for your attention

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Everybody_Lies, 2022-02-07
@ReDeNDeR

window.open

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question