From d571bed665cee1af6b2212c04791a7a11f18cf7d Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 4 Mar 2018 14:43:03 +0100 Subject: Remove instagram behavior script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The “load more” button does not exist any more. --- crocoite/behavior.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'crocoite/behavior.py') 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)) -- cgit v1.2.3