473,606 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="#">bahbah bah</a>
Does not work, as it is still clickable. It only changes the color to grey.
Jul 23 '05 #1
6 3150

"nntp" <nn**@aol.com > wrote in message
news:zK******** ********@news04 .bloor.is.net.c able.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="#">bahbah bah</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="#">bahbah bah</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*****@agrico reunited.com>
comp.lang.javas cript 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="#">bahbah bah</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
2951
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 Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd"> <rss version="0.91"> ----------------//----------------------
2
3207
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 writing one object in C# which will take the entire table tag contents and renders. Ie., we need to pass "<table>………… <thead>……</thead>. <tr>.<td> <td>..<tr>.<td> <td> </table>" content to
2
10554
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 type="text/javascript"> <!]> </script> <script type="text/javascript"
6
17154
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 allow the users to add a shortcut (with icon) on their desktop, as well as seeing the icon in the URL. Our development server allows both HTTP and HTTPS connections, but the icon only appears to be available when requesting the page via HTTP???...
2
1806
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. I'm wondering if there's a way to add the tag from scratch at run time. thanks, Ben
4
4424
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 "=" character drew an error and caused my XML to be not-well-formed. So I hit it with the PHP command rawurlencode, and now it draws no error, but it no longer works as a link. What did I do wrong?
1
2368
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 'TYPE' for <link> is extended markup (use -x <extension> to do this). Where might be found a resource, for simple folk, explaining how to best correct this?
4
2015
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: http://www.myecommerce.com/results.aspx/?keywords=mens+dress 2. the url of the page which generates an up-to-date version of the RSS doc :
1
1958
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> http://www.something.com/someotherstuff </link> However, when I use item.getElementsByTagName("link"), I get an empty HTMLLinkObject back and if I print the innerHTML property of item, the <link> tag shows up but not the </link> tag. Does anyone...
3
3366
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, &gt ,&ltCompany&gt to display '<', '>' and '<Company>' respectively. But is there any freeware code available which could implement the above functionality without having to use &gt,&lt and such stuff???
0
7939
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8432
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8428
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8078
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6753
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5962
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3964
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1548
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1285
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.