Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

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
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE
ehentai is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-26-2007, 09:15 AM Re: Hiding the link from a browser
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
A: Through javascript
Q: Why bother ?
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 06-26-2007, 11:24 AM Re: Hiding the link from a browser
Average Talker

Posts: 26
Name: Michael
Trades: 0
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
Trades: 0
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
__________________

Please login or register to view this content. Registration is FREE
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

Latest Blog Post:
Happy Birthday, Steve!
Posts: 147
Name: Jordan
Location: Chicago, IL
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

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
Trades: 0
OK... But if I really, really wanted to know it... How could I do it?
__________________

Please login or register to view this content. Registration is FREE
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
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
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>
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 07-01-2007, 01:23 AM Re: Hiding the link from a browser
EGS
EGS's Avatar
Banned

Posts: 862
Name: Justice McCay
Location: New Jersey
Trades: 2
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.
EGS 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,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
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?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
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

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
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 |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Hiding the link from a browser
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.73828 seconds with 12 queries