Reply
Hiding the link from a browser
Old 06-26-2007, 07:43 AM Hiding the link from a browser
Experienced Talker

Posts: 44
Name: English Hentai Team
Greetings. Usually when you hover a link, the link location is displayed in the browser.
How can I prevent that from happening?

Note: I don't want to disable the link.
__________________

ehentai is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-26-2007, 09:15 AM Re: Hiding the link from a browser
tripy's Avatar
Fetchez la vache!

Posts: 2,055
Name: Thierry
Location: In the void
A: Through javascript
Q: Why bother ?
__________________
Listen to the ducky: "This is awesome!!!"

tripy is offline
Reply With Quote
View Public Profile
 
Old 06-26-2007, 11:24 AM Re: Hiding the link from a browser
Average Talker

Posts: 26
Name: Michael
He's right, not only will it deter visitors who are paranoid because of phishing, but it will make your site incompatible with the web standards.
Space Xscape is offline
Reply With Quote
View Public Profile
 
Old 06-27-2007, 02:21 PM Re: Hiding the link from a browser
Experienced Talker

Posts: 44
Name: English Hentai Team
Quote:
Originally Posted by Space Xscape View Post
He's right, not only will it deter visitors who are paranoid because of phishing, but it will make your site incompatible with the web standards.
Didn't know about that... Thanks for the warning.
But it's only for a few links. Just testing anyway.

Please, let me learn how to do it
__________________

ehentai is offline
Reply With Quote
View Public Profile
 
Old 06-27-2007, 02:37 PM Re: Hiding the link from a browser
Riane's Avatar
Super Talker

Posts: 149
Name: Jordan
Location: Chicago, IL
ehentai, I'm going to agree with other people here. You shouldn't follow through with this method, and not only that, but it won't work correctly on all browsers

Besides, people are still able to view your source, if they were that adamant upon finding out the link; Even so, if they open the link in a new window, the address bar is going to show the location.

It's just something that's entirely unnecessary no matter the situation.
Riane is offline
Reply With Quote
View Public Profile Visit Riane's homepage!
 
Old 06-30-2007, 04:19 PM Re: Hiding the link from a browser
Experienced Talker

Posts: 44
Name: English Hentai Team
OK... But if I really, really wanted to know it... How could I do it?
__________________

ehentai is offline
Reply With Quote
View Public Profile
 
Old 06-30-2007, 06:03 PM Re: Hiding the link from a browser
tripy's Avatar
Fetchez la vache!

Posts: 2,055
Name: Thierry
Location: In the void
In a javascript block:
Code:
window.status="your text";
Inline in a link:
Code:
<a href="http://www.webmaster-talk.com"  onmouseout="javascript:window.status=null;" onmouseover="javascript:window.status='your text for this link';">Great place!</a>
__________________
Listen to the ducky: "This is awesome!!!"

tripy is offline
Reply With Quote
View Public Profile
 
Old 07-01-2007, 01:23 AM Re: Hiding the link from a browser
King Justice's Avatar
King of Webmaster-Talk

Posts: 847
Name: Justice McCay
Location: New Jersey
I think JavaScript is the only way to do it. There are always loopholes though.

You can simply always see a "hidden link" like this by holding the click on the link (without letting go) and then you can see the full URL in your browser.
__________________
Green talkupation is always appreciated. =]
Free Online Games - Cheap Power Leveling - Pontiac Grand Am
King Justice is offline
Reply With Quote
View Public Profile
 
Old 07-01-2007, 01:28 AM Re: Hiding the link from a browser
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
Or

<span onclick="document.location = http://www.example.com">click here</span>

That has the benefit of hiding the link from the search engines ... because Google might consider that "spamdexing" and won't want you allowing PR to be passed on to pages you don't want your users to really know about.

Also, I would look at the URL ( FireBug makes this extremely easy ) before I didn't click it anyway. I'd probably leave the page I was on, too. That might sound drastic, but unless you have a really good and understandable reason to do it, that just doesn't inspire confidence.

Is there any other solution?
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 07-01-2007, 02:03 AM Re: Hiding the link from a browser
vangogh's Avatar
Post Impressionist

Posts: 8,825
Name: Steven Bradley
Location: Boulder, Colorado
ehentai it's obviously you're decision whether or not to do this, but I can tell you that if you don't let me see where the link is going I'm not clicking on it.

It would make me ask why you don't want to show me where the link is taking me and no matter what it is you're offering on the other side of that link someone else is probably offering it too a couple of clicks away.

Also anyone who still wants to see where the link goes can just view the source. You're really not hiding it.

As a general rule I'm fine with you doing things inside the browser window. I expect that what's inside the window is going to change when I interact with a site. Anything outside that window is off limits as far as I'm concerned and that extends to the status bar or the menu bar and even the scrollbars. if you change any of those it's the last time I ever visit your site and I know I'm not alone in this.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Hiding the link from a browser
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.20061 seconds with 12 queries