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("http://cartercole.com","i")thats the regular expression that checks the links on the page, then you got
window.open("http://cartercole.com");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
Code: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 have any questions: im @cartercole; follow me now.