From ab3a826a81b0f83071f265e1e941a263c7202ebc Mon Sep 17 00:00:00 2001 From: Thibault Duval Date: Thu, 6 Sep 2018 21:11:56 +0200 Subject: [PATCH] Version 1.2.5 + Revert FreeKiss' permissions to only affect kissmanga.com + Fix FreeKiss being unable to display the bookmarks manager on mangas with encoded urls --- Scripts/Class/Manager.js | 2 +- Scripts/FreeKiss/Events.js | 11 ----------- Views/Patchnotes.html | 7 +++++++ manifest.json | 4 ++-- 4 files changed, 10 insertions(+), 14 deletions(-) diff --git a/Scripts/Class/Manager.js b/Scripts/Class/Manager.js index cfbc102..42f2023 100644 --- a/Scripts/Class/Manager.js +++ b/Scripts/Class/Manager.js @@ -23,7 +23,7 @@ var Management = { // Add the name and url to the manager for genericity $(manager).attr("data-name", name); - $(manager).attr("data-url", url); + $(manager).attr("data-url", decodeURIComponent(url)); // Add bookmark management this._Bookmark(manager); diff --git a/Scripts/FreeKiss/Events.js b/Scripts/FreeKiss/Events.js index 891e2a5..4c9eebc 100644 --- a/Scripts/FreeKiss/Events.js +++ b/Scripts/FreeKiss/Events.js @@ -208,14 +208,3 @@ chrome.webRequest.onHeadersReceived.addListener( }, ['blocking', 'responseHeaders'] ); - -/** Block the access to harmful providers of onclick ads popups. */ -chrome.webRequest.onBeforeRequest.addListener( - () => { - return {cancel: true}; - }, - { - urls: ["*://deloton.com/*", "*://cobalten.com/*", "*://3phzb1pbij.com/*"] - }, - ["blocking"] -); diff --git a/Views/Patchnotes.html b/Views/Patchnotes.html index 331437a..91b44f7 100644 --- a/Views/Patchnotes.html +++ b/Views/Patchnotes.html @@ -22,6 +22,13 @@

Versions


+
+

1.2.5

+
    +
  • Revert FreeKiss' permissions to only affect kissmanga.com as the new way to deal with onclick ads make blocking websites obsolete.
  • +
  • Fix FreeKiss being unable to display the bookmarks manager on mangas with encoded urls.
  • +
+

1.2.4

    diff --git a/manifest.json b/manifest.json index df73daa..f50addd 100644 --- a/manifest.json +++ b/manifest.json @@ -4,7 +4,7 @@ "name": "FreeKiss", "short_name": "FreeKiss", "description": "Enhance your KissManga experience.", - "version": "1.2.4", + "version": "1.2.5", "icons": { "16": "Images/Icons/icon16.png", @@ -69,7 +69,7 @@ ], "permissions": [ - "*://*/*", + "*://kissmanga.com/*", "tabs", "activeTab", "storage",