How do I disable a link? in <A>

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • nntp

    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.


  • Karl Groves

    #2
    Re: How do I disable a link? in &lt;A&gt;


    "nntp" <nntp@aol.com > wrote in message
    news:zKoZc.2036 $hbk.589@news04 .bloor.is.net.c able.rogers.com ...[color=blue]
    > I have a set of links which I want search engines to crawl them, but I[/color]
    want[color=blue]
    > to disable them from my visitors, so I will ask the link owners to pay me[/color]
    to[color=blue]
    > let me enable them.[/color]

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

    -Karl


    Comment

    • nntp

      #3
      Re: How do I disable a link? in &lt;A&gt;

      I found the solution by changing the this.href as used here

      all links look right, but they are not clickable as it will call onclick
      fuction to change the href from whatever it is to #.
      [color=blue]
      > I have a set of links which I want search engines to crawl them, but I[/color]
      want[color=blue]
      > to disable them from my visitors, so I will ask the link owners to pay me[/color]
      to[color=blue]
      > let me enable them.
      >
      > <a disabled href="#">bahbah bah</a>
      > Does not work, as it is still clickable. It only changes the color to[/color]
      grey.[color=blue]
      >
      >[/color]


      Comment

      • Michael Winter

        #4
        Re: How do I disable a link? in &lt;A&gt;

        On Wed, 01 Sep 2004 18:50:36 GMT, nntp <nntp@aol.com > wrote:

        [fixed top-post]
        [color=blue][color=green]
        >> 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.[/color][/color]

        It's also invalid HTML, and likely to work only in IE.
        [color=blue]
        > 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 #.[/color]

        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.

        Comment

        • Neal

          #5
          Re: How do I disable a link? in &lt;A&gt;

          On Wed, 01 Sep 2004 18:42:39 GMT, nntp <nntp@aol.com > wrote:
          [color=blue]
          > 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.[/color]

          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.

          Comment

          • Grant Wagner

            #6
            Re: How do I disable a link? in &lt;A&gt;

            nntp wrote:
            [color=blue]
            > 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 #.[/color]

            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 <gwagner@agrico reunited.com>
            comp.lang.javas cript FAQ - http://jibbering.com/faq

            Comment

            • Thomas 'PointedEars' Lahn

              #7
              Re: How do I disable a link? in &lt;A&gt;

              nntp wrote:
              [color=blue]
              > 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.[/color]

              ROTFL! YMMD!
              [color=blue]
              > <a disabled href="#">bahbah bah</a>
              > Does not work, as it is still clickable. It only changes the color to
              > grey.[/color]

              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

              Comment

              Working...