make regexes the same that crawlman puts in crawler-beans.cxml

This commit is contained in:
Noah Levitt 2014-03-06 18:23:31 -08:00
parent 5b1992a8c0
commit 9848c41d5f
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
//.*facebook.com.*
//^https?://(?:www\.)?facebook.com/.*$
var isOnScreen = function(e) {
var eTop = e.getBoundingClientRect().top;
return eTop > window.scrollY && eTop < window.scrollY + window.innerHeight;

View File

@ -1,4 +1,5 @@
//.*flickr.com.*
//^https?://(?:www\.)?flickr.com/.*$
setInterval(function() { window.scrollBy(0,50); }, 100);
setTimeout(function() {