Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-28-2017, 12:40 PM   #1
jimstones22
Confirmed User
 
Industry Role:
Join Date: May 2017
Posts: 38
How to block popunders from embedded tube videos?

Is there any way to embed videos from tube sites without getting intrusive popunders for your visitors to deal with when they click on a video. Anyone know of a way to block their popunders for site visitors by editing the embed code?

Are there any tube sites with no popunders anyone can recommend?

Last edited by jimstones22; 06-28-2017 at 12:43 PM.. Reason: embedded, video, code, tube, popunder, block
jimstones22 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-28-2017, 02:40 PM   #2
tomash999
Confirmed User
 
Industry Role:
Join Date: Sep 2015
Posts: 88
You can try something like this:
1. Change the iframe to point to your server. If you load it via Javascript then do the next steps on the client side.
2. On your server add an endpoint for iframe. This URL will load the original iframe and inject Javascript.
3. In the injected code (for the iframe only), override the `window.open` function
Code:
window.open = function(strUrl, strWindowName, [strWindowFeatures]){
  // your custom code
}

// or just ignore all the popups in the iframe
window.open = null
tomash999 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
embed, popunders, sites, tube, visitors, embedded, videos, block
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.