Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the Document</title> </head> <body> <script> // popup blocked window.open('https://www.w3docs.com/'); // popup allowed button.onclick = () => { window.open('https://www.w3docs.com/'); }; </script> </body> </html>