From f079fcea580850a6cf9cefbcbffa2a888bc0bdab Mon Sep 17 00:00:00 2001 From: rasasak Date: Sat, 7 Aug 2021 11:26:15 +0200 Subject: [PATCH] Update actapublica_tweak.user.js --- actapublica_tweak.user.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/actapublica_tweak.user.js b/actapublica_tweak.user.js index eea67b9..260aa04 100644 --- a/actapublica_tweak.user.js +++ b/actapublica_tweak.user.js @@ -1,6 +1,6 @@ // ==UserScript== // @name Actapublica tweak -// @version 0.4.1 +// @version 0.5.0 // @downloadURL https://github.com/rasasak/MZA_tweak/raw/main/actapublica_tweak.user.js // @updateURL https://github.com/rasasak/MZA_tweak/raw/main/actapublica_tweak.user.js // @description Malá vylepšení pro web MZA... @@ -36,4 +36,16 @@ $(document).ready(function() { //delete minimap $("[id^='navigator-']").remove() + + //dezoomify button + var dezoomify_url = $('#pill_images script').text() + dezoomify_url = dezoomify_url.split(";") + dezoomify_url = dezoomify_url[8].split(",") + dezoomify_url = dezoomify_url[1].replaceAll('"','') + dezoomify_url = dezoomify_url.replaceAll('\\','') + dezoomify_url = "https://dezoomify.ophir.dev/dezoomify/dezoomify.html#"+dezoomify_url + + $('#seadragon-toolbar .form-group').after(` + + `) });