Carter Cole LinkedInCarters Twitter PageCarter Cole on Facebook Carter Coles RSS

Tuesday, July 20, 2010

Enforce your link attribution requirements on your widget or API with JavaScript

A while ago doing a Mozinar I mentioned I had written a little snippet of JavaScript I used to enforce link attribution requirements on widgets or API I release (and for my clients). Heres what I came up with and optimized... it currently just checks for meta robots tag and a clean link but I may add a robots.txt check after I convert the rule parser into javascript

but this is what I came up with and how you can use it on your scripts and APIs. the first part where new RegExp("","i") thats the regular expression that checks the links on the page, then you got""); thats the line thats true when the page isnt passing rank... that means its meta robots is nofollow or it dint find a link matching requirements without a nofollow directive


I put this code on the end of my JSONP API responses. It requires 3ed parties consuming your API to have a clean link pointing back to you, which is really cool because links are like the money of the internet

if you want to hide your javascript tests a little better you can try using this popular packer but like all popular scripts it has been reversed and beautified shh :) its nice for formating JavaScript your reverse engineering too

if you have any questions: im @cartercole; follow me now.

Create a complete listing and get a dofollow link! lets you create a wiki like listing for your domain... its also a nice way to get a strong backlink if you complete your profile and ask the nofollow to be removed... but after their promoted listing service got knocked by Google for being too close to selling links they were forced to turn nofollow back on for the entire site.

Exactly about 2.7685 hrs ago i got this email

DoFollow links are back on!

From:Kristina Weis - AboutUs
I am happy to say that we reinstated DoFollow links today on  All community-created pages that previously had followed links should have them again.

Moving forward, we will continue following links for good sites that we notice have good content on AboutUs.  Whenever you create a nice page for a reputable site let us know at and we will verify the site's quality and remove the NoFollow attribute.

We should have a blog post about this tomorrow afternoon at but I wanted to let you know about this change right away because I recalled that you cared about it.

Let me know if you have any questions.

Kristina Weis

I had previously asked about the dofollow links disappearing so it nice to see they have been turned back on now... so if you have a site and a looking to increase visibility and get a quick link dont forget to create your domains profile's Profile

Monday, July 5, 2010

Send me all the bad SEO on the internet you can find!

Ive been working on v3.0 of SEO Site Tools giving it all kinds of cool new stuff and one of the things i really wanted to work on was SPAM detection, because this is a plugin in the browser we have advantage of access to entire DOM making some types of test much more practical. The following tweet shows exactly what i want to automate... but to be able to detect spam i need samples... so im putting out a call for all the SEO spam yall can send me...

@CarterCole I wanted you to know, your SEO TOOL saved me from malicious hacking creeps. Said I had over 100 links on one page (cont'd)less than a minute ago via web

Ive got some requirements for the spam. scraper sites are everywhere and a dime a dozen... the kind of stuff im looking for is
  • user-agent/ip based cloaking
  • bad doorway pages
  • hidden text and links on pages
please send your samples to your helping to fight spam on the web :)
oh and heres a new sneak peek of the Google Analytics Page Details in SEO Site Tools v3.0