From 39d17d88892b737ae4520a1263581ee2941fb7d0 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Sun, 6 Sep 2020 21:20:07 +0200 Subject: [PATCH] Version 1.0 --- .gitignore | 1 + LICENSE | 7 +++++++ README.md | 3 +++ extension/background.js | 10 ++++++++++ extension/icon.png | Bin 0 -> 482 bytes extension/manifest.json | 17 +++++++++++++++++ 6 files changed, 38 insertions(+) create mode 100755 .gitignore create mode 100644 LICENSE create mode 100644 README.md create mode 100755 extension/background.js create mode 100644 extension/icon.png create mode 100644 extension/manifest.json diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..500aabb --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +web-ext-artifacts/ \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e4a042b --- /dev/null +++ b/LICENSE @@ -0,0 +1,7 @@ +Copyright 2020 Klaus-Uwe Mitterer + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..f85f590 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# History Purger + +Firefox addon that deletes the entire browsing history when loading a page. \ No newline at end of file diff --git a/extension/background.js b/extension/background.js new file mode 100755 index 0000000..3bb550b --- /dev/null +++ b/extension/background.js @@ -0,0 +1,10 @@ +browser.webNavigation.onCompleted.addListener( + function() { + browser.history.deleteRange( + { + startTime: 0, + endTime: new Date() + } + ); + } +); diff --git a/extension/icon.png b/extension/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..aeb0df79047ed9fff7c08c0733dcb6e36e05bfed GIT binary patch literal 482 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA1|-9oezpTCwj^(N7l!{JxM1({$v_d#0*}aI zppNSx%;=;sy86>s96!@0VKSAppcv-lwf-v+&wb|#Sp46GUsj9dW? zFy?=r4IDNM$wG{u4|J~lv&_YT_l4o})eiGj9P|yOwWl|xdNzoCNPD_Xg>heFuy#13 zn#$M4+SM`)(vujTADBEfn*G;O2B!xHPVxS`Hgoa*%i0HaxOXgUxx;55sol@id!S~M zl9tKb!^Q6!s@Bv*UXj*ie!r|T#qwK>S@&ZZ2K|kZyFNsmU=&~~Ugx$@`+;HmbDrHy zEu51>W@YSQOZA;c)#8tD@A?Np&XDb=D%QEHF z+&SRScwJT@?UDI(8-^>szvHq#|2p5|+y7aDA@24crnCFaehFRky82?7{M4|0?@D;= RP61