When someone visit your site, a new tab opens in the background which opens ads while the current tab is still focused. Can someone tell me how you create this?
How do you create tab under? |
(Jan 6, 2017 06:40 PM)Netflix and Weed Wrote: You want to create malicious adware, Lmao that is extremely fucked up. Who said that I wanted to create malicious adware? I just want it to open a new tab to redirect to some ad network to earn some cash
Hey, try this it worked for me a while back http://html.com/javascript/popup-windows/
(Jan 6, 2017 10:06 PM)Wakka Wrote: Hey, try this it worked for me a while back http://html.com/javascript/popup-windows/ That's a popup window and I want a popunder tab since browsers don't block tabs but they block popups (Jan 6, 2017 04:49 PM)Shaorin Wrote: When someone visit your site, a new tab opens in the background which opens ads while the current tab is still focused. Can someone tell me how you create this? Just do a simple new tab link like so <a href="examplesite.com" target="_blank">click me!</a>
Jan 7, 2017 11:43 AM
(This post was last modified: Jan 7, 2017 11:43 AM by Xalrons.)
Unfortunately popunders aren't supported by most major browsers anymore. Once you could simply do:
Code window.open("website here");But all major browsers don't support this anymore (and I think you know why). I have an idea you could try though: 1) Do the window.open(); 2) Open a new tab in the main window 3) Close that tab Opening a new tab should focus the main window again. Try it.
http://popunderjs.com that should work
(Jan 7, 2017 11:46 AM)FormerlyS Wrote: [removed] that should work Doesn't work in Chrome, Edge or IE, but it does work in Firefox. |
|
|


