Updated Inline script tag filtering (markdown)

Raymond Hill 2015-09-30 16:07:15 -04:00
parent 0465eedb50
commit 759847c7ff

@ -1,19 +1,14 @@
The ability to filter specific inline script tag started with uBlock Origin 1.2.0.
There are many ways to block script tags from executing in uBlock Origin:
- Block external script resources.
- Block all inline script tags<sup>[1]</sup> at once
- Block all inline script tags<sup>[1]</sup> at once.
uBlock Origin 1.2.0 introduces a way to block **specific** inline script tag in a web page through a new script tag cosmetic filter.
***
- [1] Inline script tags are those which are embedded in the main web page. Example using an excerpt from the front page of Hacker News:<br>
```<html op="news"><head>
<meta name="referrer" content="origin">
<link rel="stylesheet" type="text/css" href="news.css?YL5ocwvpNdWX9tuUw2kw">
<link rel="shortcut icon" href="favicon.ico">
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss">
<script type="text/javascript">
- [1] Inline script tags are those which are embedded in the main web page. An example using an excerpt from the front page of Hacker News:<br>
```<html op="news"><head><meta name="referrer" content="origin"><link rel="stylesheet" type="text/css" href="news.css?YL5ocwvpNdWX9tuUw2kw"><link rel="shortcut icon" href="favicon.ico"><link rel="alternate" type="application/rss+xml" title="RSS" href="rss"><script type="text/javascript">
function hide(id) {
var el = document.getElementById(id);
if (el) { el.style.visibility = 'hidden'; }