diff --git a/brozzler/behaviors.d/clickGetPDFs.js.template b/brozzler/behaviors.d/clickGetPDFs.js.template index 7eaced5..4349835 100644 --- a/brozzler/behaviors.d/clickGetPDFs.js.template +++ b/brozzler/behaviors.d/clickGetPDFs.js.template @@ -1,5 +1,5 @@ /* - * brozzler/behaviors.d/clickGetPDFs.js.template - click on each of several elements and + * brozzler/behaviors.d/clickGetPDFs.js.template - WIP click on each of several elements and * click on linked PDFs found * * Copyright (C) 2014-2016 Internet Archive @@ -76,7 +76,7 @@ var umbraIntervalFunc = function() { if (!(pdfID in umbraAlreadyClicked)){ var where = umbraAboveBelowOrOnScreen(pdfTargets[i]); if (where === 0) { - pdfTargets[i].setAttribute('download',''); + // pdfTargets[i].setAttribute('download',''); // umbra ignores downloads var mouseOverEvent = document.createEvent('Events'); mouseOverEvent.initEvent("mouseover", true, false); pdfTargets[i].dispatchEvent(mouseOverEvent); diff --git a/brozzler/behaviors.yaml b/brozzler/behaviors.yaml index 6cdd902..764012c 100644 --- a/brozzler/behaviors.yaml +++ b/brozzler/behaviors.yaml @@ -45,12 +45,12 @@ behaviors: url_regex: '^https?://(?:www\.)?instagram\.com/.*$' behavior_js: instagram.js request_idle_timeout_sec: 10 - - # ARI-4930 test - url_regex: '^https?://(?:www\.)?kansascityfed\.org/publications/research/er/archive/.*$' - behavior_js_template: clickGetPDFs.js.template - default_parameters: - css_selector: li.years>a - request_idle_timeout_sec: 10 +# - # ARI-4930 test +# url_regex: '^https?://(?:www\.)?kansascityfed\.org/publications/research/er/archive/.*$' +# behavior_js_template: clickGetPDFs.js.template +# default_parameters: +# css_selector: li.years>a +# request_idle_timeout_sec: 10 - url_regex: '^https?://(?:www\.)?huffingtonpost\.com/.*$' behavior_js_template: huffpostslides.js