1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-26 10:01:08 +12:00

forgot to rename to uMatrix (as per wilderssecurity.com thread)

This commit is contained in:
gorhill 2014-10-28 20:07:22 -04:00
parent 20ba3157eb
commit eab99cf26b

View file

@ -35,6 +35,7 @@
var rootFrameReplacement = [ var rootFrameReplacement = [
'<!DOCTYPE html><html id="uMatrix">', '<!DOCTYPE html><html id="uMatrix">',
'<head>', '<head>',
'<meta charset="utf-8" />',
'<style>', '<style>',
'@font-face {', '@font-face {',
'font-family:httpsb;', 'font-family:httpsb;',
@ -86,11 +87,7 @@ var rootFrameReplacement = [
'</head>', '</head>',
'<body>', '<body>',
'<div id="p">', '<div id="p">',
'<div id="t"><b>{{hostname}}</b> blocked by HTTP Switchboard</div>', '<div id="t"><b>{{hostname}}</b> blocked by µMatrix</div>',
'<div>',
'hpHosts: <a href="http://hosts-file.net/?s={{hostname}}" target="_blank">{{hostname}}</a><br>',
'WOT: <a href="https://www.mywot.com/en/scorecard/{{hostname}}" target="_blank">{{hostname}}</a>',
'</div>',
'</div>', '</div>',
'</body>', '</body>',
'</html>' '</html>'
@ -100,6 +97,7 @@ var subFrameReplacement = [
'<!DOCTYPE html>', '<!DOCTYPE html>',
'<html>', '<html>',
'<head>', '<head>',
'<meta charset="utf-8" />',
'<style>', '<style>',
'@font-face{', '@font-face{',
'font-family:httpsb;', 'font-family:httpsb;',
@ -149,7 +147,7 @@ var subFrameReplacement = [
'</style>', '</style>',
'<title>Blocked by µMatrix</title>', '<title>Blocked by µMatrix</title>',
'</head>', '</head>',
'<body title="&ldquo;{{hostname}}&rdquo; frame\nblocked by HTTP Switchboard">', '<body title="&ldquo;{{hostname}}&rdquo; frame\nblocked by µMatrix">',
'<div id="bg"><div><a href="{{frameSrc}}" target="_blank">{{hostname}}</a></div></div>', '<div id="bg"><div><a href="{{frameSrc}}" target="_blank">{{hostname}}</a></div></div>',
'</body>', '</body>',
'</html>' '</html>'