mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 08:39:59 -05:00
make regexes the same that crawlman puts in crawler-beans.cxml
This commit is contained in:
parent
5b1992a8c0
commit
9848c41d5f
@ -1,4 +1,5 @@
|
|||||||
//.*facebook.com.*
|
//^https?://(?:www\.)?facebook.com/.*$
|
||||||
|
|
||||||
var isOnScreen = function(e) {
|
var isOnScreen = function(e) {
|
||||||
var eTop = e.getBoundingClientRect().top;
|
var eTop = e.getBoundingClientRect().top;
|
||||||
return eTop > window.scrollY && eTop < window.scrollY + window.innerHeight;
|
return eTop > window.scrollY && eTop < window.scrollY + window.innerHeight;
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
//.*flickr.com.*
|
//^https?://(?:www\.)?flickr.com/.*$
|
||||||
|
|
||||||
setInterval(function() { window.scrollBy(0,50); }, 100);
|
setInterval(function() { window.scrollBy(0,50); }, 100);
|
||||||
|
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user