Merge branch 'moma-behavior' into qa

This commit is contained in:
Barbara Miller 2024-01-19 14:42:32 -08:00
commit 792c1b47e7

View File

@ -1,7 +1,7 @@
#
# brozzler/behaviors.yaml - behavior configuration
#
# Copyright (C) 2014-2023 Internet Archive
# Copyright (C) 2014-2024 Internet Archive
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -157,9 +157,12 @@
url_regex: '^https?://(?:www\.)?moma.org/.*$'
behavior_js_template: umbraBehavior.js.j2
default_parameters:
interval: 300
actions:
- selector: 'div.link\/focus'
limit: 1
- selector: 'button.link\/focus'
repeatSameElement: true
- # https://webarchive.jira.com/browse/ARI-4692
url_regex: '^https?://(?:www\.)?fec.gov/data/.*$'
behavior_js_template: fec_gov.js