Forgot I even had these. Track some greasemonkey scripts used to help block ads/tracking
Forgot I even had these. Track some greasemonkey scripts used to help block ads/tracking

--- /dev/null
+++ b/greasemonkey/antiBlueToothApi.js
@@ -1,1 +1,16 @@
+// ==UserScript==
+// @name         Anti-Bluetooth API
+// @namespace    *
+// @description  I've no need or interest in having the bluetooth API. Needs to be tested on an up-to-date Chrome to check whether this works
+// @author       B Tasker
+// @match        *
+// @grant        none
+// @version 	 1.0
+// @downloadURL  https://www.bentasker.co.uk/adblock/greasemonkey/antiBlueToothApi.js
+// @updateURL    https://www.bentasker.co.uk/adblock/greasemonkey/antiBlueToothApi.js
+// ==/UserScript==
 
+Object.defineProperty(window.navigator, 'bluetooth', {value: function requestDevice {console.log('Bluetooth access attempt');}});
+
+console.log("Loaded");
+

--- /dev/null
+++ b/greasemonkey/antiPopAds2017.js
@@ -1,1 +1,19 @@
+// ==UserScript==
+// @name         Anti-PopAds
+// @namespace    *
+// @description  PopAds are slimey fucks who won't honour obvious attempts to deny their attempts to run code on _our_ machines. Override some of the crap they use
+// @author       B Tasker
+// @match        *
+// @grant        none
+// @version 	 1.2
+// @downloadURL  https://www.bentasker.co.uk/adblock/greasemonkey/antiPopAds2017.js
+// @updateURL    https://www.bentasker.co.uk/adblock/greasemonkey/antiPopAds2017.js
+// ==/UserScript==
 
+/* PopAds can very seriously go fuck themselves */
+Object.defineProperty(window, '_pao', {value: function parse() {console.log('PopAds Detected');}});
+Object.defineProperty(window, '_pop',{value: function parse() {console.log('PopAdsDetected');}} );
+Object.defineProperty(window, 'popns',{value: function parse() {console.log('PopAdsDetected');}} );
+
+console.log("Loaded");
+

--- /dev/null
+++ b/greasemonkey/index.html