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
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 04-21-2013, 02:53 AM   #1
duk75
Confirmed User
 
Industry Role:
Join Date: Feb 2012
Posts: 741
Is there a way to redirect to two different sites at same time?

I would like to redirect a page to two different sites, one would open in the same window, and the other in a new tab or window.

How can I do this?

I don't want that the user click to get the other site or both, I want that when the user go to some URL then the URL launches two different pages.

It seems very similar, if not the same, to an old fashioned pop up...

How do I do this?
__________________
...Nice.
duk75 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 03:44 AM   #2
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,038
I could be wrong - I would guess that you would need a click - As far as I know there is not a way to do an 'onload' popup anymore and that's what it would require.

Not really my thing but that would be my guess....
__________________
-

Chaturbate Script - https://gfy.com/fucking-around-and-b...er-issues.html - Now supports White Labels
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 08:02 PM   #3
duk75
Confirmed User
 
Industry Role:
Join Date: Feb 2012
Posts: 741
Quote:
Originally Posted by EddyTheDog View Post
I could be wrong - I would guess that you would need a click - As far as I know there is not a way to do an 'onload' popup anymore and that's what it would require.

Not really my thing but that would be my guess....
The problem is that it seems that onclick scripts does not work over iframes (when the script is on the main page and not in the iframed page), and I need it to work over iframes, or frames, but it seems it can't.
__________________
...Nice.
duk75 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 09:37 PM   #4
2013
So Fucking Banned
 
Industry Role:
Join Date: Jan 2013
Location: lollling
Posts: 4,390
you can do on page load with javascript?
2013 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 10:43 PM   #5
harvey
Confirmed User
 
harvey's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
redirect first page to second page. on second page make 3rd page popup on load. Problem solved
__________________
This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth
harvey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 10:46 PM   #6
EddyTheDog
Just Doing My Own Thing
 
EddyTheDog's Avatar
 
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,038
Quote:
Originally Posted by harvey View Post
redirect first page to second page. on second page make 3rd page popup on load. Problem solved
Can you do an onload popup?
__________________
-

Chaturbate Script - https://gfy.com/fucking-around-and-b...er-issues.html - Now supports White Labels
EddyTheDog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 10:59 PM   #7
harvey
Confirmed User
 
harvey's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
Quote:
Originally Posted by EddyTheDog View Post
Can you do an onload popup?
yes you COULD, but I think most browsers nowadays disable window.open without a click. Anyway, here's a simple code:

Code:
<script type="text/javascript">
function pop()
{
    poppy = window.open("http://www.gfy.com", "mywindow", "location=1,status=1,scrollbars=1,width=1000,height=800");
    poppy.moveTo(0, 0);
}
</script>
<body onload="javascript: pop()">
JQuery version:

Code:
$(function(){ 
    window.open(url, windowName[, windowFeatures]); 
});

OR you can get creative and add a DOM to trigger events via JQuery with some delay. There are many ways, I used some pretty shitty code some years ago to open several pages by using a... FORM element!
__________________
This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth
harvey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 11:01 PM   #8
duk75
Confirmed User
 
Industry Role:
Join Date: Feb 2012
Posts: 741

Quote:
Originally Posted by harvey View Post
redirect first page to second page. on second page make 3rd page popup on load. Problem solved
The browser will not block the pop up of the second page?
__________________
...Nice.
duk75 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 11:03 PM   #9
harvey
Confirmed User
 
harvey's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
Quote:
Originally Posted by duk75 View Post
The browser will not block the pop up of the second page?
read above
__________________
This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth
harvey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 11:04 PM   #10
2013
So Fucking Banned
 
Industry Role:
Join Date: Jan 2013
Location: lollling
Posts: 4,390
Quote:
Originally Posted by duk75 View Post
The browser will not block the pop up of the second page?
i gave you the answer in my post
2013 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-21-2013, 11:06 PM   #11
sarettah
see you later, I'm gone
 
Industry Role:
Join Date: Oct 2002
Posts: 14,057
Quote:
Originally Posted by duk75 View Post
The problem is that it seems that onclick scripts does not work over iframes (when the script is on the main page and not in the iframed page), and I need it to work over iframes, or frames, but it seems it can't.
Throw a transparent image over the whole page. When they click in launch the popunder and hide the .gif.

.
__________________
All cookies cleared!
sarettah is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-22-2013, 07:40 AM   #12
helterskelter808
So Fucking Banned
 
Industry Role:
Join Date: Sep 2010
Posts: 3,405
I'm sure there are easier ways to completely piss off and alienate your site's visitors.
helterskelter808 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



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.