Skip to content

Commit

Permalink
Use HTTPS to serve the script.
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Oct 31, 2015
1 parent 2d87fed commit 569e48a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Fast and lightweight way to run the script.

1. Go to the bookmark menu of your browser and add a new bookmark with the title of your choice.

2. Copy the following snippet and paste it into the URL-Field: `javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js';})();`
2. Copy the following snippet and paste it into the URL-Field: `javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js';})();`

3. Save the Bookmark.

Expand All @@ -23,7 +23,7 @@ Installing the userscript via Greasemonkey will automatically run it everytime y

1. Install the [Greasemonkey extension](https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/) for Firefox.

2. Click this link to navigate to the script URL: http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js
2. Click this link to navigate to the script URL: https://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js

3. Greasemonkey will detect the userscript and ask what to do with it. Tell it to "Install" the script.

Expand All @@ -36,7 +36,7 @@ Tampermonkey lets you install userscripts in Chrome, similarly to how Greasemonk

1. Install the [Tampermonkey extension](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo/related) for Chrome.

2. Click this link to navigate to the script URL: http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js
2. Click this link to navigate to the script URL: https://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js

3. Tampermonkey will detect the userscript and will open a new tab. Click on `Install to Tampermonkey` and click Ok.

Expand All @@ -54,7 +54,7 @@ If you don't want or can't install one of the previously mentioned browser exten
* On Opera, press `Ctrl` + `Shift` + `I`
* If you are having trouble opening your console, try reading the in depth explanation [here](http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers)

2. Copy the following snippet and paste it into the developer console on the TPP page: `javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js';})();`
2. Copy the following snippet and paste it into the developer console on the TPP page: `javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js';})();`

3. Press `Enter` to run the code.

Expand Down
2 changes: 1 addition & 1 deletion filter_loader.min.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js';})();
javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js';})();
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ <h2>

<p>Just drag the button below onto your bookmarks bar and click on it when you have the TPP-Tab open to enable the script.</p>

<p><a href="javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js';})();"><img src="www/img/bookmarklet-button.png" alt="Twitch Spam Filter"></a></p>
<p><a href="javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js';})();"><img src="www/img/bookmarklet-button.png" alt="Twitch Spam Filter"></a></p>

<p><strong>Alternate Method:</strong></p>

<ol>
<li><p>Go to the bookmark menu of your browser and add a new bookmark with the title of your choice.</p></li>
<li><p>Copy the following snippet and paste it into the URL-Field:<br/>
<code>javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js';})();</code></p></li>
<code>javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js';})();</code></p></li>
<li><p>Save the Bookmark.</p></li>
<li><p>From now on, you can just click on that bookmark when you have the TPP-Tab open to enable the script.</p></li>
</ol><h2>
Expand All @@ -59,7 +59,7 @@ <h2>

<ol>
<li><p>Install the <a href="https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/">Greasemonkey extension</a> for Firefox.</p></li>
<li><p>Click this link to navigate to the script URL: <a href="http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js">http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js</a></p></li>
<li><p>Click this link to navigate to the script URL: <a href="https://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js">https://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js</a></p></li>
<li><p>Greasemonkey will detect the userscript and ask what to do with it. Tell it to "Install" the script.</p></li>
<li><p>Refresh the page TPP stream page.</p></li>
</ol><h2>
Expand All @@ -69,7 +69,7 @@ <h2>

<ol>
<li><p>Install the <a href="https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo/related">Tampermonkey extension</a> for Chrome.</p></li>
<li><p>Click this link to navigate to the script URL: <a href="http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js">http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js</a></p></li>
<li><p>Click this link to navigate to the script URL: <a href="https://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js">https://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js</a></p></li>
<li><p>Tampermonkey will detect the userscript and will open a new tab. Click on <code>Install to Tampermonkey</code> and click Ok.</p></li>
<li><p>Refresh the page TPP stream page.</p></li>
</ol><h2>
Expand All @@ -96,7 +96,7 @@ <h2>
</li>
</ul>
</li>
<li><p>Copy the following snippet and paste it into the developer console on the TPP page: <code>javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js';})();</code></p></li>
<li><p>Copy the following snippet and paste it into the developer console on the TPP page: <code>javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://jpgohlke.github.io/twitch-chat-filter/chat_filter.user.js';})();</code></p></li>
<li><p>Press <code>Enter</code> to run the code.</p></li>
</ol><h2>
<a name="developers" class="anchor" href="#developers"><span class="octicon octicon-link"></span></a>Developers</h2>
Expand Down

0 comments on commit 569e48a

Please sign in to comment.