mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-06-20 04:44:12 -04:00
make regexes the same that crawlman puts in crawler-beans.cxml
This commit is contained in:
parent
5b1992a8c0
commit
9848c41d5f
2 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue