views:

343

answers:

2

Anyone can give me the answer? TQ.

+1  A: 

Convert all anchors from href to onClick javascript.

Before implementation:

<a href="mylink.html">MyLink</a>

After implementation:

<a href="#" onClick="javascript:document.location="mylink.html">MyLink</a>
Kangkan
the hosted links..cannot be edited..
Heypy.com
A: 

this looks pretty suspect, but:

make the href attribute of your links do nothing...

<a href="#">Link Text</a>

and use onclick handlers to change pages.

<a href="#" onclick="javascript: window.location='http://newurl.com'&gt;Link Text</a>
W_P
but i want to hide all links. all hosted links that cannot be insert the codes.
Heypy.com
I guess I'm not understanding what you want then. Do you want to hide the links in other users' (that you don't control) Firefox windows, or just on computers you can control?
W_P
in mozilla, it can not be hide. also i cannot edit like above coz the links are hosted. so can not be changed.
Heypy.com