mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-06-21 05:14:22 -04:00
improve/expand url_regex
This commit is contained in:
parent
0a2895364d
commit
795b9ab809
2 changed files with 3 additions and 3 deletions
|
@ -118,7 +118,7 @@
|
||||||
url_regex: '^https?://pitchfork\.com/.*$'
|
url_regex: '^https?://pitchfork\.com/.*$'
|
||||||
behavior_js_template: pitchfork.js
|
behavior_js_template: pitchfork.js
|
||||||
- # https://webarchive.jira.com/browse/ARI-5379
|
- # https://webarchive.jira.com/browse/ARI-5379
|
||||||
url_regex: '^https?://pm\.gc\.ca/eng/news.*$'
|
url_regex: '^https?://(?:www\.)?pm\.gc\.ca/.*$'
|
||||||
behavior_js_template: pm-ca.js
|
behavior_js_template: pm-ca.js
|
||||||
request_idle_timeout_sec: 10
|
request_idle_timeout_sec: 10
|
||||||
- # https://webarchive.jira.com/browse/ARI-4960
|
- # https://webarchive.jira.com/browse/ARI-4960
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* brozzler/behaviors.d/pm-ca.js - behavior for http://pm.gc.ca/eng/news
|
* brozzler/behaviors.d/pm-ca.js - behavior for http://www.pm.gc.ca/
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014-2017 Internet Archive
|
* Copyright (C) 2014-2017 Internet Archive
|
||||||
*
|
*
|
||||||
|
@ -32,7 +32,7 @@ var umbraBehavior = {
|
||||||
var clickedSomething = false;
|
var clickedSomething = false;
|
||||||
var somethingLeftBelow = false;
|
var somethingLeftBelow = false;
|
||||||
var somethingLeftAbove = false;
|
var somethingLeftAbove = false;
|
||||||
var cssSelector = "div.teaser";
|
var cssSelector = "div.teaser, li.pager__item a";
|
||||||
var clickUntilTimeout = 10;
|
var clickUntilTimeout = 10;
|
||||||
|
|
||||||
var iframes = document.querySelectorAll("iframe");
|
var iframes = document.querySelectorAll("iframe");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue