How do you make a JavaScript link no-follow?

Discussion in 'JavaScript' started by openmindz, Apr 21, 2010.

  1. #1
    Hey guys,

    I am trying to make an Amazon JavaScript affiliate link no-follow but not sure how to:

    Here is the code structure:

    <iframe src="http://rcm.amazon.com/e/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=XXXXXXXX-20&o=1&p=8&l=as1&m=amazon&f=ifr&md=10FE9736YVPPT7A0FBG2&asins=B0036WT3PW" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>

    This code gets embedded on a blog page and displays one of these enhanced Amazon.com listings.

    How would you make this code no-follow?

    Thanks in advance!
    openmindz
     
    openmindz, Apr 21, 2010 IP
  2. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #2
    many issues with this post...

    1. this is not javascript
    2. this is not a link
    3. spiders don't follow iframe src content by default.
    4. importance of PR sculpting is dying out anyway
    5. only A elements can take a rel="nofollow".
    6. if you DID create A HREF's via javascript, they would not be in the server-side source anyway so the rel property would not matter
    7. you cannot control any of the iframe content that resides on another domain through your parent window/DOM
     
    dimitar christoff, Apr 21, 2010 IP
  3. openmindz

    openmindz Active Member

    Messages:
    331
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Thanks so much dimitar,

    I was thinking that too many of these links would leak pr juice out to Amazon, but what you say makes sense. I'm good now.

    Cheers mate!
     
    openmindz, Apr 21, 2010 IP