Browse Source

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

pull/2/head
gorhill 10 years ago
parent
commit
eab99cf26b
  1. 10
      src/js/traffic.js

10
src/js/traffic.js

@ -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>',
'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 id="t"><b>{{hostname}}</b> blocked by µMatrix</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>'

Loading…
Cancel
Save