Some time ago I thought about how to reduce the costs of my webpage. I decided to use an advertisement. It is a text-link-ad. When the text-link is clicked the advertisement is opened in a new tab.
在经过一段时间之后,我真心 that地认识到,不仅对我来说,而且对访问我的网页的所有人来说,这真是徒劳的。
我提出的解决办法是制定一个框架。 我知道框架 s,但这是我可以认为的唯一解决办法。
它看着这样的情况:
<frameset rows="0.01%,99.99%" border="0" SCROLLING=NO NORESIZE>
<frame src="script" name="script">
<frame src="advertisement.html" name="advertisement ">
</frameset>
在文字镜头一号中,用java字母将参观者转回我的网页,然后把 mo点点击到(登机知道什么是:)窗户。
So now to my problem:
I ve got this generated link from sponsorad.de
<script type="text/javascript" src="http://www.sponsorads.de/script.php?s=209836"></script>
正在执行的文字是:
<script type="text/javascript">
var preferrer= ;`
try {
preferrer = top.document.referrer;
} catch (e) {
preferrer = ;
} finally {
var rndVal = 100*(Math.random());
document.write( <!-- +rndVal+ --> );
document.write( <scr + ipt type="text/javascript"
src="http://www.sponsorads.de/a_script.php?s=209836&pref= +
escape(preferrer) +
&ref= +
escape(document.referrer) +
&ck=1&rndVal= +
rndVal +
"></scr +
ipt>
);
}
</script>
So how can i make this link open in my advertisement-frame?
I m open for a Javascript, jQuery, .htaccess or any other solution.