<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Script_injection_rules</title><link>https://sourceforge.net/p/greasemonkey/wiki/Script_injection_rules/</link><description>Recent changes to Script_injection_rules</description><atom:link href="https://sourceforge.net/p/greasemonkey/wiki/Script_injection_rules/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 09 Aug 2019 19:32:43 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/greasemonkey/wiki/Script_injection_rules/feed" rel="self" type="application/rss+xml"/><item><title>Script_injection_rules modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/Script_injection_rules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v58
+++ v59
@@ -112,3 +112,5 @@
 [Getting Started](Greasemonkey_Manual%3AGetting_Started) ⬌ [Installing Scripts](Greasemonkey_Manual%3AInstalling_Scripts) ⬌ [Managing Scripts](Greasemonkey_Manual%3AManaging_Scripts) ⬌ [Monkey Menu](Greasemonkey_Manual%3AMonkey_Menu) ⬌ [Creating Scripts](Greasemonkey_Manual%3ACreating_Scripts) ⬌ [Environment](Greasemonkey_Manual%3AEnvironment) ⬌ [Other Useful Tools](Greasemonkey_Manual%3AOther_Useful_Tools) ⬌ [API](Greasemonkey_Manual%3AAPI)

 ## Notes
+
+[⬆][toTop]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mmartz</dc:creator><pubDate>Fri, 09 Aug 2019 19:32:43 -0000</pubDate><guid>https://sourceforge.netc49790c843187715233a447e9c5936de70e51df4</guid></item><item><title>Script_injection_rules modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/Script_injection_rules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v57
+++ v58
@@ -45,7 +45,7 @@
 // ==/UserScript==
 ```

-  * These names to values are URLs, which can have a "wildcard" asterisk _(*)_, which matches any string including the empty string. For example a key value of `https://www.example.org/foo/*` will match https://www.example.org/foo/bar and https://www.example.org/foo/, but not [https://www.example.org/baz/](https://www.example.org/baz/). A value can have several wildcards or none, in which case the value must match the entire URL exactly. [@exclude](Metadata_Block#exclude) values look the same but prevent the script from being executed on that pattern regardless of [@include](Metadata_Block#include) or [@match](Metadata_Block#match) allowances.
+  * These names to values are URLs, which can have a "wildcard" asterisk _(*)_, which matches any string including the empty string. For example a key value of `https://www.example.org/foo/*` will match https://www.example.org/foo/bar and https://www.example.org/foo/, but not [https://www.example.org/baz/](https://www.example.org/baz/). A value can have several wildcards or none, in which case the value must match the entire URL exactly. [@exclude](Metadata_Block#exclude) values may look the same but prevent the script from being executed on this pattern regardless of [@include](Metadata_Block#include) or [@match](Metadata_Block#match) allowances.

 [⬆][toTop] [⬇][toBottom] [⇧](#pattern-matching)

@@ -64,7 +64,7 @@
   * Currently these patterns are supported on [@include](Metadata_Block#include), and [@exclude](Metadata_Block#exclude) and global excludes only.
   * This pattern is always treated as case insensitive therefore a Url in the address bar of [HTTPS://WWW.EXAMPLE.ORG/](HTTPS://WWW.EXAMPLE.ORG/) is the same as [https://www.example.org/](https://www.example.org/). However please don't shout.

-  * [@exclude](Metadata_Block#exclude) values look the same but prevent the script from being executed on that pattern regardless of [@include](Metadata_Block#include) or [@match](Metadata_Block#match) allowances.
+  * [@exclude](Metadata_Block#exclude) values may look the same but prevent the script from being executed on this pattern regardless of [@include](Metadata_Block#include) or [@match](Metadata_Block#match) allowances.
   * JavaScript [RegExp][mdnRegExp] currently allows forward slashes and trailing matches to be non-escaped and omitted respectively. See [special characters][mdnRegExpSpecial]. Therefore `/^https?://www\.example.org//` should be the same as `/^https?:\/\/www\.example.org\/.*/` in this context. However in other contexts the shorthand syntax may be considered non-portable and may not be recommended due to potential cross-browser differences. Better to be safe than sorry later on?

 [⬆][toTop] [⬇][toBottom] [⇧](#pattern-matching)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mmartz</dc:creator><pubDate>Mon, 05 Aug 2019 11:57:28 -0000</pubDate><guid>https://sourceforge.net14f2bf8b21451969be3cad4ac241e82c7641b6c3</guid></item><item><title>Script_injection_rules modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/Script_injection_rules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v56
+++ v57
@@ -64,6 +64,7 @@
   * Currently these patterns are supported on [@include](Metadata_Block#include), and [@exclude](Metadata_Block#exclude) and global excludes only.
   * This pattern is always treated as case insensitive therefore a Url in the address bar of [HTTPS://WWW.EXAMPLE.ORG/](HTTPS://WWW.EXAMPLE.ORG/) is the same as [https://www.example.org/](https://www.example.org/). However please don't shout.

+  * [@exclude](Metadata_Block#exclude) values look the same but prevent the script from being executed on that pattern regardless of [@include](Metadata_Block#include) or [@match](Metadata_Block#match) allowances.
   * JavaScript [RegExp][mdnRegExp] currently allows forward slashes and trailing matches to be non-escaped and omitted respectively. See [special characters][mdnRegExpSpecial]. Therefore `/^https?://www\.example.org//` should be the same as `/^https?:\/\/www\.example.org\/.*/` in this context. However in other contexts the shorthand syntax may be considered non-portable and may not be recommended due to potential cross-browser differences. Better to be safe than sorry later on?

 [⬆][toTop] [⬇][toBottom] [⇧](#pattern-matching)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mmartz</dc:creator><pubDate>Mon, 05 Aug 2019 11:55:11 -0000</pubDate><guid>https://sourceforge.nete73c4831a2362f8271cd9aaf3c40b2f0f69774f4</guid></item><item><title>Script_injection_rules modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/Script_injection_rules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v55
+++ v56
@@ -45,7 +45,7 @@
 // ==/UserScript==
 ```

-  * These names to values are URLs, which can have a "wildcard" asterisk _(*)_, which matches any string including the empty string. For example a key value of `https://www.example.org/foo/*` will match https://www.example.org/foo/bar and https://www.example.org/foo/, but not [https://www.example.org/baz/](https://www.example.org/baz/). A value can have several wildcards or none, in which case the value must match the entire URL exactly. @exclude values look the same, and prevent the script from being executed on that pattern regardless of @include or @match allowances.
+  * These names to values are URLs, which can have a "wildcard" asterisk _(*)_, which matches any string including the empty string. For example a key value of `https://www.example.org/foo/*` will match https://www.example.org/foo/bar and https://www.example.org/foo/, but not [https://www.example.org/baz/](https://www.example.org/baz/). A value can have several wildcards or none, in which case the value must match the entire URL exactly. [@exclude](Metadata_Block#exclude) values look the same but prevent the script from being executed on that pattern regardless of [@include](Metadata_Block#include) or [@match](Metadata_Block#match) allowances.

 [⬆][toTop] [⬇][toBottom] [⇧](#pattern-matching)

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mmartz</dc:creator><pubDate>Mon, 05 Aug 2019 11:51:42 -0000</pubDate><guid>https://sourceforge.net70367c2b1a227af0d3a973e7f1849271b587df59</guid></item><item><title>Script_injection_rules modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/Script_injection_rules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v54
+++ v55
@@ -45,7 +45,7 @@
 // ==/UserScript==
 ```

-  * These names to values are URLs, which can have a "wildcard" asterisk _(*)_, which matches any string including the empty string. For example a key value of `https://www.example.org/foo/*` will match https://www.example.org/foo/bar and https://www.example.org/foo/, but not [https://www.example.org/baz/](https://www.example.org/baz/). A value can have several wildcards or none, in which case the value must match the entire URL exactly. Exclude values look the same, and prevent the script from being executed on that pattern regardless of @include or @match allowances.
+  * These names to values are URLs, which can have a "wildcard" asterisk _(*)_, which matches any string including the empty string. For example a key value of `https://www.example.org/foo/*` will match https://www.example.org/foo/bar and https://www.example.org/foo/, but not [https://www.example.org/baz/](https://www.example.org/baz/). A value can have several wildcards or none, in which case the value must match the entire URL exactly. @exclude values look the same, and prevent the script from being executed on that pattern regardless of @include or @match allowances.

 [⬆][toTop] [⬇][toBottom] [⇧](#pattern-matching)

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mmartz</dc:creator><pubDate>Mon, 05 Aug 2019 11:48:44 -0000</pubDate><guid>https://sourceforge.netc1542047ad6492c2fa4a75c6e0061a142e387bd5</guid></item><item><title>Script_injection_rules modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/Script_injection_rules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v53
+++ v54
@@ -45,7 +45,7 @@
 // ==/UserScript==
 ```

-  * These names to values are URLs, which can have a "wildcard" asterisk _(*)_, which matches any string including the empty string. For example a key value of `https://www.example.org/foo/*` will match https://www.example.org/foo/bar and https://www.example.org/foo/, but not https://www.example.org/baz/. A value can have several wildcards or none, in which case the value must match the entire URL exactly. Exclude values look the same, and prevent the script from being executed on that pattern regardless of @include or @match allowances.
+  * These names to values are URLs, which can have a "wildcard" asterisk _(*)_, which matches any string including the empty string. For example a key value of `https://www.example.org/foo/*` will match https://www.example.org/foo/bar and https://www.example.org/foo/, but not [https://www.example.org/baz/](https://www.example.org/baz/). A value can have several wildcards or none, in which case the value must match the entire URL exactly. Exclude values look the same, and prevent the script from being executed on that pattern regardless of @include or @match allowances.

 [⬆][toTop] [⬇][toBottom] [⇧](#pattern-matching)

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mmartz</dc:creator><pubDate>Mon, 05 Aug 2019 11:45:52 -0000</pubDate><guid>https://sourceforge.netd48e70eef983a0959d6760a480bcf1895138ab7c</guid></item><item><title>Script_injection_rules modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/Script_injection_rules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v52
+++ v53
@@ -10,7 +10,7 @@

 [Getting Started](Greasemonkey_Manual%3AGetting_Started) ⬌ [Installing Scripts](Greasemonkey_Manual%3AInstalling_Scripts) ⬌ [Managing Scripts](Greasemonkey_Manual%3AManaging_Scripts) ⬌ [Monkey Menu](Greasemonkey_Manual%3AMonkey_Menu) ⬌ [Creating Scripts](Greasemonkey_Manual%3ACreating_Scripts) ⬌ [Environment](Greasemonkey_Manual%3AEnvironment) ⬌ [Other Useful Tools](Greasemonkey_Manual%3AOther_Useful_Tools) ⬌ [API](Greasemonkey_Manual%3AAPI)

-In general [user script](User_script)s should specify at least one [@include](Metadata_Block#include) or at least one [@exclude](Metadata_Block#exclude) in the [metadata block](Metadata_Block).
+In general [user script](User_script)s should specify at least one [@include](Metadata_Block#include) or at least one [@exclude](Metadata_Block#exclude) in the [UserScript metadata block](Metadata_Block).

 **The script will execute if a user script matches any @include, as long as it does not match an @exclude or a global exclude.**

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mmartz</dc:creator><pubDate>Mon, 05 Aug 2019 11:42:30 -0000</pubDate><guid>https://sourceforge.net20f90fe684d165affbef1e54a5a23a84c08b4aee</guid></item><item><title>Script_injection_rules modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/Script_injection_rules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v51
+++ v52
@@ -53,7 +53,7 @@

 ``` js
 // ==UserScript==
-// …
+//
 // @include   /^https?:\/\/www\.example.(?:org|net)\/.*/
 // …
 // @exclude   /^https?:\/\/www\.example.com\/.*/
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mmartz</dc:creator><pubDate>Mon, 05 Aug 2019 11:39:50 -0000</pubDate><guid>https://sourceforge.netcd9fcc30fde9bbedc998f5ae2338011c84e64b8a</guid></item><item><title>Script_injection_rules modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/Script_injection_rules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v50
+++ v51
@@ -35,10 +35,10 @@
 //
 // @include   http://www.example.org/*
 // @include   https://www.example.org/*
-//
+// …
 // @match     http://www.example.net/*
 // @match     https://www.example.net/*
-//
+// …
 // @exclude   http://www.example.com/*
 // @exclude   https://www.example.com/*
 //
@@ -53,9 +53,9 @@

 ``` js
 // ==UserScript==
-//
+// …
 // @include   /^https?:\/\/www\.example.(?:org|net)\/.*/
-//
+// …
 // @exclude   /^https?:\/\/www\.example.com\/.*/
 //
 // ==/UserScript==
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mmartz</dc:creator><pubDate>Mon, 05 Aug 2019 11:38:49 -0000</pubDate><guid>https://sourceforge.net2e4b0be2454ef98b30f02d41d6a5ae9983106e2a</guid></item><item><title>Script_injection_rules modified by mmartz</title><link>https://sourceforge.net/p/greasemonkey/wiki/Script_injection_rules/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v49
+++ v50
@@ -45,7 +45,7 @@
 // ==/UserScript==
 ```

-  * These names to values are URLs, which can have a "wildcard" asterisk _(*)_, which matches any string including the empty string. For example a key value of `https://www.example.org/foo/*` will match https://www.example.org/foo/bar and https://www.example.org/foo/, but not https://www.example.org/baz/. A value can have several wildcards or none, in which case the value must match the entire URL exactly. Exclude values look the same, and prevent the script from being executed.
+  * These names to values are URLs, which can have a "wildcard" asterisk _(*)_, which matches any string including the empty string. For example a key value of `https://www.example.org/foo/*` will match https://www.example.org/foo/bar and https://www.example.org/foo/, but not https://www.example.org/baz/. A value can have several wildcards or none, in which case the value must match the entire URL exactly. Exclude values look the same, and prevent the script from being executed on that pattern regardless of @include or @match allowances.

 [⬆][toTop] [⬇][toBottom] [⇧](#pattern-matching)

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mmartz</dc:creator><pubDate>Mon, 05 Aug 2019 11:34:13 -0000</pubDate><guid>https://sourceforge.net491723e4ef3cacc646ca378c3079598b07eef4f4</guid></item></channel></rss>