javascript link

S

Sid Ismail

Hi

Can someone help me please?

Someone has a link to my page:
<a href ="JavaScript:eek:penWindow('http://www.sabf.co.za', 700, 500)"
South African Bridge Federation</a>

I hate that! Not only do they mess with people's browser-size, but
the address url is also missing. Real yuk.

Can I have something on my page to fix/correct or refuse entry?

Regards

Sid
 
N

Neredbojias

With neither quill nor qualm, Sid Ismail quothed:
Hi

Can someone help me please?

Someone has a link to my page:
<a href ="JavaScript:eek:penWindow('http://www.sabf.co.za', 700, 500)"

I hate that! Not only do they mess with people's browser-size, but
the address url is also missing. Real yuk.

Can I have something on my page to fix/correct or refuse entry?

Regards

Sid

Off the top o' me head, it should be something as simple as:

if (opener) window.close();

I used to play with windows a lot and will did into the ol' archives if
the former fails.
 
D

dingbat

Sid said:
Can I have something on my page to fix/correct or refuse entry?

Do it server-side. This is easy in .htaccess (if you're under Apache)
or you can use some server-side scripting to look at HTTP_REFERER
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top