From 419cca672304b306b50d24cab064b9c5790b178f Mon Sep 17 00:00:00 2001 From: Nacho Date: Mon, 18 Apr 2022 22:14:26 +0200 Subject: [PATCH] Update v0.4.3 - Added compatibility for more domains and set the download button to english --- doc-viewer.js | 4 ++-- manifest.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc-viewer.js b/doc-viewer.js index e2b5371..4e29b72 100644 --- a/doc-viewer.js +++ b/doc-viewer.js @@ -4,12 +4,12 @@ window.addEventListener('load', function(){ button1 = document.createElement("button"); button1.classList.add("download-button-1"); button1.setAttribute("id","download-button-1"); - button1.innerHTML = 'Descarga'; + button1.innerHTML = 'Download'; button2 = document.createElement("button"); button2.classList.add("download-button-2"); button2.setAttribute("id","download-button-2"); - button2.innerHTML = 'Descarga'; + button2.innerHTML = 'Download'; prev_buttons[0].parentNode.parentNode.prepend(button1); prev_buttons[1].parentNode.parentNode.removeChild(prev_buttons[1].parentNode); diff --git a/manifest.json b/manifest.json index 7a1b83a..65e2eba 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "StuHack", - "version": "0.4.2", + "version": "0.4.3", "description": "Banner remover, filter pass & document downloader", "icons": { "16": "img/icon16.png", @@ -12,6 +12,6 @@ "content_scripts": [{ "js": ["version-check.js", "remove-banner.js", "remove-blur.js", "doc-viewer.js"], "css": ["style.css"], - "matches": ["https://www.studocu.com/*"] + "matches": ["https://www.studocu.com/*", "https://www.studeersnel.nl/*"] }] }