让观众的浏览器打开第二份副本? [英] Get viewer's browser to open second copy?

查看:99
本文介绍了让观众的浏览器打开第二份副本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




如果我设置一个链接让我的观众远离我的网站,我怎么能强迫他们的浏览器打开一秒钟复制?当然,想法是在他们关闭第二份副本时将观众

带回我的网站。


谢谢,


DaveCu

解决方案




DaveC写道:

如果我设置了一个链接,让我的观众远离我的网站,我怎么能强迫他们的浏览器打开第二个副本?当然,想法是在他们关闭第二份副本时将观众带回我的网站。




他们将知道如何返回您的网站,他们应该这样做吗?你是什​​么

计划几乎总是一个坏主意。


如果你仍然确定你想建议打开另一个窗口,请查看

目标属性。


雷神


-
http://www.anta.net/OH2GDF


" DaveC" ; <直流****** @ nospam.san.rr.com>写道:

如果我设置一个链接让我的观众远离我的网站,我怎么能强迫他们的浏览器打开第二个副本?当然,想法是在他们关闭第二份副本时将观众带回我的网站。




< a href =" http:/ /www.example.com/">Example公司(在新的

窗口中打开这个窗口,否则我会到你家来打你)< / a>


显然,它并没有完全保证,但也没有任何其他

方法(有些浏览器不支持多个窗口/标签,有些

会忽略任何新窗口的HTML代码)


此外,研究表明后退按钮是第二个

网络上最常用的导航(超链接首先显然是
),除了在最近的一些浏览器中,打开一个新的

窗口会阻止人们使用返回按钮返回您的网站。所以,

虽然看起来不错,但它可能不会像你想要的那样工作。当他们关闭浏览器时,人们可能会发现你的网站仍然存在,但是他们也可能会关闭它们。


-

Chris


2005年12月5日星期一22:26:00 +0100,DaveC< dc ****** @ nospam.san.rr .com>

写道:

如果我设置了一个链接,让我的观众远离我的网站,我怎么能强迫他们的浏览器打开第二份?当然,想法是在关闭第二份副本时将观众带回我的网站。




Ow,上帝,我讨厌作者对我这样做。他/她没有权利这样做。我可以完美地为自己做好准备(a)如果我想在新窗口中打开

的链接,(b)如果我想返回上一页或网站。

如果内容对我有用,我会回到那里。如果不是今天,

其他时间。另一方面,如果一个网站试图欺骗我进入

为他们的域外的链接打开另一个窗口,那肯定是

保证我永远不会回到那个再次访问网站。


所以,如果您找到方法,请实施并让我知道您网站的网址

。然后我知道我可以安全地避免访问它。

-

, - - < - @ - PretLetters:''woest wyf' ',见过vele interesses:----------。

|博客| http://home.wanadoo.nl/b。 de.zoete / _private / weblog.html |

| webontwerp | http://home.wanadoo.nl/b。 de.zoete / html / webontwerp.html |

| zweefvliegen | http://home.wanadoo.nl/b。 de.zoete / html / vliegen.html |

` --------------------------- ----------------------- - < - @ ------------''


Hi,

If I set up a link to take my viewers away from my site, how can I force
their browser to open a second copy? Idea, of course, is to bring viewers
back into my site when they close the 2nd copy.

Thanks,

DaveCu

解决方案



DaveC wrote:

If I set up a link to take my viewers away from my site, how can I force
their browser to open a second copy? Idea, of course, is to bring viewers
back into my site when they close the 2nd copy.



They will know how to return to your site, should they want to. What you are
planning is almost always a bad idea.

If you still are sure you want to suggest opening another window, look up
the target attribute.

Thor

--
http://www.anta.net/OH2GDF


"DaveC" <dc******@nospam.san.rr.com> writes:

If I set up a link to take my viewers away from my site, how can I force
their browser to open a second copy? Idea, of course, is to bring viewers
back into my site when they close the 2nd copy.



<a href="http://www.example.com/">Example Company (open this in a new
window or I''ll come round to your house and beat you up)</a>

It''s not completely guaranteed, obviously, but neither is any other
method (some browsers don''t support multiple windows/tabs, and some
that do will ignore any new-window HTML code)

Also, studies have shown that the Back Button is the second
most-commonly used piece of navigation on the web (hyperlinks are
first, obviously), and except in a few recent browsers, opening a new
window stops people using the back button to return to your site. So,
while it might seem a good idea, it probably won''t work as you
want. People might discover your site still there when they close
their browser, but then they''ll probably close that too.

--
Chris


On Mon, 05 Dec 2005 22:26:00 +0100, DaveC <dc******@nospam.san.rr.com>
wrote:

If I set up a link to take my viewers away from my site, how can I force
their browser to open a second copy? Idea, of course, is to bring
viewers back into my site when they close the 2nd copy.



Ow, God, I hate it when an author does that to me. S/he has no right to do
that. I can deside for myself perfectly well (a) if I want a link to open
in a new window and (b) if I want to return to a previous page or site.
And if the content is useful to me, I will return there. If not today,
some other time. On the other hand, if a site tries to trick me into
opening another window for links outside their domain, that is a sure
guarantee that I will never return to that site again ever.

So, please, if you figure out a way, implement and do let me know the URL
of your site. I then know that I can safely avoid to visit it ever.
--
,-- --<--@ -- PretLetters: ''woest wyf'', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------''


这篇关于让观众的浏览器打开第二份副本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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