diff --git a/umbra/behaviors.json b/umbra/behaviors.json index 2c15565..360c014 100644 --- a/umbra/behaviors.json +++ b/umbra/behaviors.json @@ -1,20 +1,27 @@ [ { "scripts": [ - "setInterval(function() { window.scrollBy(10000,10000); }, 1000);" + "setInterval(function() {}, 1000);" ], "site": ".*" }, { "scripts": [ - "setInterval(function() { a = document.evaluate( '//a[(@href = \"#\" and @role = \"button\" and contains(.,\"more comments\")) or starts-with(@href, \"/browse/likes\")]', document, null, XPathResult.UNORDERED_NODE_ITERATOR_TYPE, null ); f = a.iterateNext(); f.click();}, 1000);" + "setTimeout(function() { setInterval(function() { a = document.evaluate( '//a[(@href = \"#\" and @role = \"button\" and contains(.,\"more comments\")) or starts-with(@href, \"/browse/likes\")]', document, null, XPathResult.UNORDERED_NODE_ITERATOR_TYPE, null ); f = a.iterateNext(); f.click();}, 1000);}, 5000);" ], "site": ".*facebook.com.*" }, { "scripts": [ - "" + "setTimeout(function() { a = document.evaluate( \"//a[contains(@class, 'sn-ico-slideshow')]\", document, null, XPathResult.UNORDERED_NODE_ITERATOR_TYPE, null ); f = a.iterateNext(); f.click();}, 5000);" + ], + "site": ".*flickr.com.*" + }, + { + "scripts": [ + "setTimeout(function() { a = document.evaluate( \"//a[contains(@data-track, 'photo-click')]\", document, null, XPathResult.UNORDERED_NODE_ITERATOR_TYPE, null ); setInterval(function() { f = a.iterateNext(); f.click();}, 5000)}, 5000);" ], "site": ".*flickr.com.*" } + ]