diff --git a/assets/filters.txt b/assets/filters.txt index c167d3f..fa20417 100644 --- a/assets/filters.txt +++ b/assets/filters.txt @@ -17,4 +17,5 @@ *://*.ppoi.org/lib/* *://*.coinerra.com/lib/* *://*.minero.pw/miner.min.js* -*://*.coinblind.com/lib/* \ No newline at end of file +*://*.coinblind.com/lib/* +*://*.webmine.cz/miner* \ No newline at end of file diff --git a/js/minerkill.js b/js/minerkill.js index 736c91d..531b1e1 100644 --- a/js/minerkill.js +++ b/js/minerkill.js @@ -1,6 +1,6 @@ 'use strict'; -function triggerEvent(miner) { +function triggerMbEvent(miner) { let event = new CustomEvent('minerBlocked', { detail: { minerUrl: miner @@ -9,8 +9,6 @@ function triggerEvent(miner) { document.dispatchEvent(event); } -let event = new Event('minerBlocked'); - for(let name in this) { if(name === 'webkitStorageInfo') { @@ -26,6 +24,6 @@ for(let name in this) { console.log('[+] Coinhive miner found, stopping...'); this[name].stop(); this[name] = null; - triggerEvent('coinhive.com'); + triggerMbEvent('coinhive.com'); } } \ No newline at end of file diff --git a/manifest.json b/manifest.json index 1d0d538..e14e093 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "minerBlock", "description": "Blocks cryptocurrency miners all over the web.", - "version": "0.4.7", + "version": "0.4.8", "options_page": "options.html", "background": { "scripts": ["js/utils.js", "js/background.js"], diff --git a/options.html b/options.html index a5408c2..181fcb5 100644 --- a/options.html +++ b/options.html @@ -63,7 +63,7 @@

-

MinerBlock v0.4.7

+

MinerBlock v0.4.8

Please email your feedback to cryptominedev@gmail.com.


diff --git a/popup.html b/popup.html index 24acde7..04df76e 100644 --- a/popup.html +++ b/popup.html @@ -9,7 +9,7 @@
-
MinerBlock
Version 0.4.7
+
MinerBlock
Version 0.4.8