summaryrefslogtreecommitdiff
path: root/crocoite/behavior.py
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2018-03-04 14:43:03 +0100
committerLars-Dominik Braun <lars@6xq.net>2018-03-04 14:44:20 +0100
commitd571bed665cee1af6b2212c04791a7a11f18cf7d (patch)
treea44410b7a37c10d499208a824027bd31ea3a940b /crocoite/behavior.py
parentabe8d6e1674f7ac42974422cb9b70cd929bb0fba (diff)
downloadcrocoite-d571bed665cee1af6b2212c04791a7a11f18cf7d.tar.gz
crocoite-d571bed665cee1af6b2212c04791a7a11f18cf7d.tar.bz2
crocoite-d571bed665cee1af6b2212c04791a7a11f18cf7d.zip
Remove instagram behavior script
The “load more” button does not exist any more.
Diffstat (limited to 'crocoite/behavior.py')
-rw-r--r--crocoite/behavior.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/crocoite/behavior.py b/crocoite/behavior.py
index a7928e7..e4ec93b 100644
--- a/crocoite/behavior.py
+++ b/crocoite/behavior.py
@@ -229,15 +229,10 @@ class Twitter (HostnameFilter, JsOnload):
scriptPath = 'per-site/twitter.js'
hostname = ['com', 'twitter']
-class Instagram (HostnameFilter, JsOnload):
- name = 'instagram'
- scriptPath = 'per-site/instagram.js'
- hostname = ['com', 'instagram']
-
# available behavior scripts. Order matters, move those modifying the page
# towards the end of available
generic = [Scroll, EmulateScreenMetrics]
-perSite = [Twitter, Instagram]
+perSite = [Twitter]
available = generic + perSite + [Screenshot, DomSnapshot]
availableNames = set (map (lambda x: x.name, available))