Browse Source

fix rendering of mu character

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

8
src/js/traffic.js

@ -83,11 +83,11 @@ var rootFrameReplacement = [
'}',
'</style>',
'<link href="{{cssURL}}?url={{originalURL}}&hostname={{hostname}}&t={{now}}" rel="stylesheet" type="text/css">',
'<title>Blocked by µMatrix</title>',
'<title>Blocked by &mu;Matrix</title>',
'</head>',
'<body>',
'<div id="p">',
'<div id="t"><b>{{hostname}}</b> blocked by µMatrix</div>',
'<div id="t"><b>{{hostname}}</b> blocked by &mu;Matrix</div>',
'</div>',
'</body>',
'</html>'
@ -145,9 +145,9 @@ var subFrameReplacement = [
'text-decoration:none;',
'}',
'</style>',
'<title>Blocked by µMatrix</title>',
'<title>Blocked by &mu;Matrix</title>',
'</head>',
'<body title="&ldquo;{{hostname}}&rdquo; frame\nblocked by µMatrix">',
'<body title="&ldquo;{{hostname}}&rdquo; frame\nblocked by &mu;Matrix">',
'<div id="bg"><div><a href="{{frameSrc}}" target="_blank">{{hostname}}</a></div></div>',
'</body>',
'</html>'

Loading…
Cancel
Save