mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-23 16:19:49 -05:00
Add more flickr behavior
This commit is contained in:
parent
445288d5e7
commit
af01fcbcfe
@ -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.*"
|
||||
}
|
||||
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user