我的弹出窗口的pg由另一个网站加入 - 帮助。 [英] My popup window's pg co-opted by another site--help.

查看:47
本文介绍了我的弹出窗口的pg由另一个网站加入 - 帮助。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以试试这个javascript吗?我的网站上有一个弹出窗口

删除了浏览器chrome。另一个网站已经开始,并在我的同一个.html页面上完成了一个

弹出窗口。除非他查看开启者页面的源代码,否则该网站的访问者并没有意识到它是什么。


我想知道是否有一个javascript解决方案吗?我使用window.opener.location.replace尝试了

,其中href是我的

绝对URL,并由BODY标记中的onUnload命令触发。 br />
这不行。


我得到的是我的页面加载代替ripoff

网站在父窗口中。


过去当其他网站试图将我的网页带入他们的

帧时,我可以进行各种帧编译器编码。但是这一次,框架

不参与。


这里有javascript解决方法吗?任何洞察力都赞赏!

解决方案

Thad写道:

我可以试试这个javascript吗?我的网站上有一个弹出窗口
删除了浏览器chrome。另一个网站已经开始,并在同一个.html页面上弹出一个
弹出窗口。除非他查看开启者页面的源代码,否则该网站的访问者并没有意识到它。

我想知道是否有这方面的JavaScript解决方案?我已经尝试使用window.opener.location.replace,其中href是我的
绝对URL,并由BODY标记中的onUnload命令触发。
这不是工作。

我得到的是我的页面加载代替父窗口中的ripoff
网站。

过去当其他网站时我试图把我的页面放到他们的
帧中,我可以进行各种帧编译器编码。但是这一次,框架没有涉及。

这里有javascript解决方法吗?任何洞察力都赞赏!




document.referrer可能有所帮助。它会为您提供打开页面的页面地址。


-

Randy

comp.lang.javascript常见问题 - http://jibbering.com/faq


2005年1月15日星期六19:29:48 -0800 Thad写道:

我可以试试这个javascript吗?我的网站上有一个弹出窗口
删除了浏览器chrome。另一个网站已经开始,并在同一个.html页面上弹出一个
弹出窗口。除非他查看开启者页面的源代码,否则该网站的访问者并没有意识到它。
我想知道是否有针对此的JavaScript解决方案?我已经尝试使用window.opener.location.replace,其中href是我的
绝对URL,并由BODY标记中的onUnload命令触发。
这不是工作。
我得到的是我的页面加载代替父窗口中的ripoff
站点。
过去当其他网站试图将我的网页带入他们的框架时,我可以进行各种帧编译器编码。但这一次,框架没有涉及。
这里有javascript解决方法吗?任何见解都赞赏!




if(self!= top){top.location.href = self.location.href}


我用这个小伎俩对他的网站进行了反映。

我把他的访客发送到whitehousesex.com。

我曾经想过要做什么,每次都要弹出50个新窗口

有人访问了他的网站。

如果你用这些混蛋做到了,你可以打赌有人会讨厌和

抱怨所有那些该死的弹出窗口并让你的该死的网站得到修复。


Richard写道:

2005年1月15日星期六19: 29:48 -0800 Thad写道:

我可以试试这个javascript吗?我的网站上有一个弹出窗口
删除了浏览器chrome。另一个网站已经开始,并在同一个.html页面上弹出一个
弹出窗口。除非他查看开启者页面的源代码,否则该网站的访问者并没有意识到它。



我'我想知道是否有这方面的JavaScript解决方案?我已经尝试使用window.opener.location.replace,其中href是我的
绝对URL,并由BODY标记中的onUnload命令触发。
这不是工作。



我得到的是在父窗口中加载我的页面代替ripoff
网站。


过去当其他网站试图将我的网页带入他们的
框架时,我可以进行各种帧编译器编码。但这一次,框架没有涉及。



这里有javascript解决方法吗?任何洞察力都赞赏!



if(self!= top){top.location.href = self.location.href}




对OP的问题绝对没有*。引用它框架

不参与。


-

兰迪

comp.lang.javascript常见问题 - http://jibbering.com/faq


Any javascript I could try on this? I''ve got a popup window on my site
with the browser chrome removed. Another site''s gone ahead and done a
popup to my same .html page. The visitor to that site doesn''t realize
it unless he looks at the opener page''s source code.

I''m wondering if there''s a javascript solution for this? I''ve tried
using the window.opener.location.replace with the href being my
absolute URL, and triggered by an onUnload command in the BODY tag.
This didn''t work.

What I was getting at was having my page load in place of the ripoff
site in the parent window.

In the past when when other sites tried to bring my pages into their
frames, I could various frame-buster coding. But this time, frames
aren''t involved.

Are there javascript workarounds here? Any insight appreciated!

解决方案

Thad wrote:

Any javascript I could try on this? I''ve got a popup window on my site
with the browser chrome removed. Another site''s gone ahead and done a
popup to my same .html page. The visitor to that site doesn''t realize
it unless he looks at the opener page''s source code.

I''m wondering if there''s a javascript solution for this? I''ve tried
using the window.opener.location.replace with the href being my
absolute URL, and triggered by an onUnload command in the BODY tag.
This didn''t work.

What I was getting at was having my page load in place of the ripoff
site in the parent window.

In the past when when other sites tried to bring my pages into their
frames, I could various frame-buster coding. But this time, frames
aren''t involved.

Are there javascript workarounds here? Any insight appreciated!



document.referrer might help. It gives you the address of the page that
initiated opening the page.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq


On Sat, 15 Jan 2005 19:29:48 -0800 Thad wrote:

Any javascript I could try on this? I''ve got a popup window on my site
with the browser chrome removed. Another site''s gone ahead and done a
popup to my same .html page. The visitor to that site doesn''t realize
it unless he looks at the opener page''s source code. I''m wondering if there''s a javascript solution for this? I''ve tried
using the window.opener.location.replace with the href being my
absolute URL, and triggered by an onUnload command in the BODY tag.
This didn''t work. What I was getting at was having my page load in place of the ripoff
site in the parent window. In the past when when other sites tried to bring my pages into their
frames, I could various frame-buster coding. But this time, frames
aren''t involved. Are there javascript workarounds here? Any insight appreciated!



if (self != top) {top.location.href = self.location.href}

I used this little trick on a jerk who was mirrioring my site on his.
I sent his visitors to whitehousesex.com.
What I had thought about doing, was to have 50 new windows popup any time
someone visited his site.
If you did that with those jerks, you can bet somebody will bitch and
complain about all those damn popups and get your damn site fixed.


Richard wrote:

On Sat, 15 Jan 2005 19:29:48 -0800 Thad wrote:

Any javascript I could try on this? I''ve got a popup window on my site
with the browser chrome removed. Another site''s gone ahead and done a
popup to my same .html page. The visitor to that site doesn''t realize
it unless he looks at the opener page''s source code.



I''m wondering if there''s a javascript solution for this? I''ve tried
using the window.opener.location.replace with the href being my
absolute URL, and triggered by an onUnload command in the BODY tag.
This didn''t work.



What I was getting at was having my page load in place of the ripoff
site in the parent window.



In the past when when other sites tried to bring my pages into their
frames, I could various frame-buster coding. But this time, frames
aren''t involved.



Are there javascript workarounds here? Any insight appreciated!


if (self != top) {top.location.href = self.location.href}



That does absolutely *nothing* for the OP''s problem. To quote it "frames
aren''t involved".

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq


这篇关于我的弹出窗口的pg由另一个网站加入 - 帮助。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆