From 95178025255e7d3fb905f3ca2ff1dbb933185b3f Mon Sep 17 00:00:00 2001 From: Giacomo Mantani Date: Sat, 3 Sep 2016 15:23:38 +0200 Subject: [PATCH] add methods allowpagetemp and allowpage --- plugin/noscript.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugin/noscript.js b/plugin/noscript.js index 679003f..db22536 100644 --- a/plugin/noscript.js +++ b/plugin/noscript.js @@ -122,6 +122,14 @@ function NoscriptVimperator() { noscriptOverlay.toggleCurrentPage(3); }, + allowpagetemp: function(){ + noscriptOverlay.allowPage(); + }, + + allowpage: function(){ + noscriptOverlay.allowPage(true); + }, + toggleperm: function(){ const ns = noscriptOverlay.ns; const url = ns.getQuickSite(content.document.documentURI, /*level*/ 3);