Skip to content

Commit

Permalink
Merge branch 'en-75'
Browse files Browse the repository at this point in the history
* en-75:
  Increased version number
  Issue #75 - Adds the domain you were redirected from to the query string
  • Loading branch information
409H committed Aug 14, 2017
2 parents 64e49a6 + d5d4a05 commit c7a828d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion js/DomainBlacklist.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(function() {
let objBrowser = chrome ? chrome : browser;

//Get the blacklist domains option for the user
objBrowser.runtime.sendMessage({func: "blacklist_domains"}, function(objResponse) {
if(objResponse && objResponse.hasOwnProperty("resp")) {
Expand Down Expand Up @@ -45,7 +46,8 @@
var blHolisticStatus = (intHolisticMetric > 0 && intHolisticMetric < intHolisticLimit) ? true : false;

if (isBlacklisted || blHolisticStatus ) {
window.location.href = "https://harrydenley.com/EtherAddressLookup/phishing.html";
window.location.href = "https://harrydenley.com/EtherAddressLookup/phishing.html#"+ (window.location.href);
return false;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "EtherAddressLookup",
"short_name": "EtherAddressLookup",
"description": "Adds links to strings that look like Ethereum addresses to your favorite blockchain explorer.",
"version": "1.5",
"version": "1.5.1",

"browser_action": {
"default_icon": "images/icon.png",
Expand Down

0 comments on commit c7a828d

Please sign in to comment.