Closed
Bug 264735
Opened 20 years ago
Closed 20 years ago
Attempt to navigate away from a page on a specific site causes the same page to reload or on second attempt redirects
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 251944
People
(Reporter: firefox, Assigned: bugzilla)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 [** WARNING - link is to a porn site, if you are under age, offended by porn, or it is against the law in your country, do not follow the links described here **] Using the link specified, once the site it open, it will prevent you opening another page in that tab on first attempt, reloading itself. Also a new window will be opened to www.010402.com [** Warning: PORN **]. On the second attempt it will redirect you to www.ga31.com [** Warning: PORN **] (which will open several popups when you close the tab, even if you have popup blocker on). Reproducible: Always Steps to Reproduce: 1. Go to http://lustgal.com/?id=pod.com 2. Now select a link from bookmarks 3. http://lustgal.com/?id=pod.com reloads itself 4. Try again with now reloaded page 5. You are then redirected to another site which was not the one you selected from Bookmarks Actual Results: As discribed in Steps to Reproduce. Expected Results: Reload of same page should be disallowed if a link on the page hasn't been clicked - selected bookmark/typed URL should open instead. For those that do not wish to visit the site, I believe I have identified the offending javascript on the page: <script language="JavaScript"><!-- self.moveTo(0,0); self.resizeTo(screen.availWidth,screen.availHeight); self.focus(); setInterval("y()",300000); function y(){self.focus();} if(self != top) {top.location=self.location;} setInterval("ll()",10); window.defaultStatus='lustgal.com - Free Teens Porno'; function ll(){window.status="lustgal.com - Free Teens Porno"} if(window.NS_ActualOpen){window.open = NS_ActualOpen;} //--> </script> </HEAD> <BODY bgcolor="#B2B7D2" onbeforeunload="javascript:window.open('http://www.v61.com/cgi-bin/counter/processor?elk')" onunload="window.location.replace('http://lustgal.com/?id=pod.com');" topmargin="0" leftmargin="0">
Comment 1•20 years ago
|
||
It's just the <BODY onunload="window.location.replace('http://somewhere/anywhere.html');"> doing this.
Reporter | ||
Comment 2•20 years ago
|
||
Should window.location.replace be allowed in an onunload event? I would see that as undesirable.
Comment 3•20 years ago
|
||
*** This bug has been marked as a duplicate of 251944 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•