From a485cf978136b24de5685fb0fa9c989065594eaa Mon Sep 17 00:00:00 2001 From: Eduar Ursu Date: Tue, 20 Jul 2021 16:13:44 +0200 Subject: [PATCH] v1.0.5 Added back to previous history --- manifest.json | 2 +- src/js/content.js | 8 +++++--- src/options/options.html | 2 +- src/options/options.js | 8 +++++--- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/manifest.json b/manifest.json index 3b24357..2c38faa 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Floatly", - "version": "1.0.4", + "version": "1.0.5", "description": "Floatly is an awesome floating button that brings quick actions to any website.", "permissions": ["tabs", "clipboardWrite","storage","activeTab","http://*/","https://*/","bookmarks"], "background": { diff --git a/src/js/content.js b/src/js/content.js index 6a250d3..da1bc65 100644 --- a/src/js/content.js +++ b/src/js/content.js @@ -81,7 +81,8 @@ var acDivs = [ '
', '
', '
', - '
' + '
', + '
' ]; var aFunctions = { @@ -103,14 +104,15 @@ var acDivs = [ ac15: function () {window.location.reload();}, ac16: function () {chrome.runtime.sendMessage({eruda: true})}, ac17: function() {chrome.runtime.sendMessage({book:true,url:window.location.href ,title:document.title});}, - ac18: function() {try {navigator.share({url:window.location.href})} catch(err) {console.log(err)}} + ac18: function() {try {navigator.share({url:window.location.href})} catch(err) {console.log(err)}}, + ac19: function(){window.history.back();} }; var splist,posf; // Get use options and inject chrome.storage.local.get({ colors: ["#0878A5", "#ffffff", "#0878A5", "#ffffff", "#101010"], - actions: [0, 1, 2, 3, 4, 5, 6,7,8,9,10,11,12,13,14,15,16], + actions: [0, 1, 2, 3, 4, 5, 6,7,8,9,10,11,12,13,14,15,16,17,18,19], userActions: [], fpos:0, blist:["github.com"], diff --git a/src/options/options.html b/src/options/options.html index 1325c19..a19f38f 100644 --- a/src/options/options.html +++ b/src/options/options.html @@ -161,7 +161,7 @@

You can use keywords or hosts . For example "github" will block all website