# HG changeset patch # User nanaya # Date 1562765265 -32400 # Node ID 6715e53ad0bf3119e13cc5bb233ad495fcad97f5 # Parent 53d0f935ecb815b24460b03034269e63332c08bc Oh whoops missing var diff -r 53d0f935ecb8 -r 6715e53ad0bf tweetdeck-large-image.user.js --- a/tweetdeck-large-image.user.js Wed Jul 10 22:26:12 2019 +0900 +++ b/tweetdeck-large-image.user.js Wed Jul 10 22:27:45 2019 +0900 @@ -1,7 +1,7 @@ // ==UserScript== // @name Tweetdeck large image // @namespace https://myconan.net -// @version 2.0.5 +// @version 2.0.5.1 // @description No more stupid link for images in tweetdeck // @author nanaya // @match https://tweetdeck.twitter.com/* @@ -54,7 +54,7 @@ url = image.src; } - parsedUrl = new URL(url); + var parsedUrl = new URL(url); if (parsedUrl.searchParams.get('name') == null) { url = url.replace(/(\..+:).+/, "$1orig");