Looking for a script to block bad blocks using workers


#1

Looking for a script to block bad blocks using workers and allow bots like google,yahoo,twitter,facebook

Can worker perform this?

I am not sure what workers do?


#2

There’s a recipe on this page to deny a spider or crawler:


I’m not a Javascript guy, but I suspect it’s not too difficult to invert the match and permit good bots.