472,958 Members | 2,083 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,958 software developers and data experts.

How do I disable a link? in <A>

I have a set of links which I want search engines to crawl them, but I want
to disable them from my visitors, so I will ask the link owners to pay me to
let me enable them.

<a disabled href="#">bahbahbah</a>
Does not work, as it is still clickable. It only changes the color to grey.
Jul 23 '05 #1
6 3096

"nntp" <nn**@aol.com> wrote in message
news:zK****************@news04.bloor.is.net.cable. rogers.com...
I have a set of links which I want search engines to crawl them, but I want to disable them from my visitors, so I will ask the link owners to pay me to let me enable them.


You're a fucking retard.
You'll make more money with a part time job than by doing stupid shit like
this.

-Karl
Jul 23 '05 #2
I found the solution by changing the this.href as used here
http://www.aboutdatarecovery.com/dat...ry-links.shtml
all links look right, but they are not clickable as it will call onclick
fuction to change the href from whatever it is to #.
I have a set of links which I want search engines to crawl them, but I want to disable them from my visitors, so I will ask the link owners to pay me to let me enable them.

<a disabled href="#">bahbahbah</a>
Does not work, as it is still clickable. It only changes the color to grey.

Jul 23 '05 #3
On Wed, 01 Sep 2004 18:50:36 GMT, nntp <nn**@aol.com> wrote:

[fixed top-post]
I have a set of links which I want search engines to crawl them, but I
want to disable them from my visitors, so I will ask the link owners to
pay me to let me enable them.

<a disabled href="#">bahbahbah</a>
Does not work, as it is still clickable. It only changes the color to
grey.

It's also invalid HTML, and likely to work only in IE.
I found the solution by changing the this.href as used here
http://www.aboutdatarecovery.com/dat...ry-links.shtml
all links look right, but they are not clickable as it will call onclick
fuction to change the href from whatever it is to #.


However, a user simply has to disable Javascript to bypass it. It can also
be disabled easily by other means.

Personally, I don't see the point. Is your site so popular that people
will want to *pay* you to link to them? No offence, but I doubt it.

Mike
Please don't top-post.

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #4
On Wed, 01 Sep 2004 18:42:39 GMT, nntp <nn**@aol.com> wrote:
I have a set of links which I want search engines to crawl them, but I
want
to disable them from my visitors, so I will ask the link owners to pay
me to
let me enable them.


If the search engines can use them, so can your visitors. Not sure you've
thought this through.

One thing which can be done is make them regular free links until you've
verified the search engines have indexed them, then make them
password-access. When people are searching for content, they'll find your
page, but when they attempt to load it they must pay to see the content.

I don't believe this is likely to be a successful business endeavor,
though. Not much info is ONLY available by paying for it. Simply clicking
another page from the search engine results page is likely to be a cheaper
alternative for your visitor.
Jul 23 '05 #5
nntp wrote:
I found the solution by changing the this.href as used here
http://www.aboutdatarecovery.com/dat...ry-links.shtml
all links look right, but they are not clickable as it will call onclick
fuction to change the href from whatever it is to #.


You've got some silly ideas about your ability to control content once it has
been downloaded to a user agent.

*Before* I click on those "dead" links I simply right-click and pick "Open Link
in New Window" (or in my case "Open Link in New Tab"). I don't even need to
disable JavaScript to get around your "security".

Of course, your next question will be "how do I disable the right mouse
button?". Doesn't matter, even if you could disable the right mouse button
effectively in ever user agent, all the time (which you can't <url:
http://everything2.com/?node=right-click+trap />), I can click and hold with
the left mouse button, then hit the context menu key on my keyboard, then
choose "W" to "Open Link in New Window", "T" to "Open Link in New Tab" or "P"
to get the link properties which I can use to copy/paste the link back into the
browser.

So let's say you somehow manage to disable my context menu key. Still doesn't
matter, I can View > Source to obtain the links.

And let's get incredibly silly and somehow you could disable my ability to
right mouse button and my ability to do View > Source by removing all menus and
toolbars in a new window. It still does not matter, I can hit CTRL+N in
Internet Explorer and get a new window with full chrome pointing to the same
page.

And even if you manage to disable CTRL+N so I can't do that. It _still_ does
not matter, I will just go to a command prompt and execute "wget <yoursite>",
or I could disable JavaScript and revisit your page.
However, I'm sure none of my information will deter you from trying to charge
for content that is as easily accessible as anything else on the Internet. If
that is the case, can I have the URL to your page? I'd love to take a look at
what you consider valuable enough to charge for.

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #6
nntp wrote:
I have a set of links which I want search engines to crawl them, but I
want to disable them from my visitors, so I will ask the link owners to
pay me to let me enable them.
ROTFL! YMMD!
<a disabled href="#">bahbahbah</a>
Does not work, as it is still clickable. It only changes the color to
grey.


The "a" element does not have a "disabled" attribute (in Valid HTML).
PointedEars
--
I Never Give Up Un Till They prave My Gun Out Of My Dead Cold Fingers
Jul 23 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Francesco Moi | last post by:
Hello. I'm trying to build a RSS feed for my website. It starts: ----------------//--------------------- <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE rss PUBLIC "-//Netscape...
2
by: Eshrath | last post by:
Hi, What I am trying to do: ======================= I need to form a table in html using the xsl but the table that is formed is quite long and cannot be viewed in our application. So we are...
2
by: Donald Firesmith | last post by:
I am having trouble having Google Adsense code stored in XSL converted properly into HTML. The <> unfortunately become &lt; and &gt; and then no longer work. XSL code is: <script...
6
by: Todd Peterson | last post by:
I'm encountering some wierd behavior with a <link> tag over an HTTPS connection, vs. an HTTP connection... In an ASP/HTML page on my website, I've add a <link rel="shortcut icon"...> in order to...
2
by: brw | last post by:
Is there a way to dynamically add a link tag to the head block of an ..aspx page? I'm aware that you can add a link tag (or literal control) statically and then dynamically modify the attributes....
4
by: Jake Barnes | last post by:
Very odd. Check out this RSS feed that my PHP script just built: http://www.tagcastle.com/rss/photography.xml When I had a straight URL in the <link> tag, or the <comment> tag, then "="...
1
by: Baldoni | last post by:
It's been years since putting together a page. This line in my HTML: <link type="text/css" rel="stylesheet" href="net4801style.css"> gives this problem (via weblint HTML checker): attribute...
4
by: John A Grandy | last post by:
When constructing an RSS 2.0 XML doc , should the <channel><link> element's value be 1. the url of the page the displays the content that the RSS feed describes : fox example:...
1
by: Doug.Sheahan | last post by:
I am attempting to parse and xml file using javascript but am running into a problem when parsing a <link></link> pair. For example, the link information in most RSS feeds is given as <link> ...
3
by: ajay2552 | last post by:
Hi, I have a query. All html tags start with < and end with >. Suppose i want to display either '<' or '>' or say some text like '<Company>' in html how do i do it? One method is to use &lt,...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.