forked from jesus2099/konami-command
-
Notifications
You must be signed in to change notification settings - Fork 0
/
www_HTTPS-REDIREKTOR.user.js
49 lines (49 loc) · 2.83 KB
/
www_HTTPS-REDIREKTOR.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// ==UserScript==
// @name www. HTTPS REDIREKTOR
// @version 2014.11.17.1518
// @changelog https://github.com/jesus2099/konami-command/commits/master/www_HTTPS-REDIREKTOR.user.js
// @description redirect to HTTPS in some websites. keep hash. avoid infinite loops (Opera speed-up tip: save as bla.js instead of bla.user.js)
// @homepage http://userscripts-mirror.org/scripts/show/178037
// @supportURL https://github.com/jesus2099/konami-command/labels/www_HTTPS-REDIREKTOR
// @compatible opera(12.18.1872)+violentmonkey my setup
// @compatible opera(12.17)+violentmonkey my own setup
// @compatible firefox(39)+greasemonkey quickly tested
// @compatible chromium(46)+tampermonkey quickly tested
// @compatible chrome+tampermonkey should be same as chromium
// @namespace https://github.com/jesus2099/konami-command
// @downloadURL https://github.com/jesus2099/konami-command/raw/master/www_HTTPS-REDIREKTOR.user.js
// @updateURL https://github.com/jesus2099/konami-command/raw/master/www_HTTPS-REDIREKTOR.user.js
// @author PATATE12
// @contributor Freso
// @contributor RaiuGekkou
// @contributor http://userscripts-mirror.org/topics/131180
// @contributor http://userscripts-mirror.org/topics/118881
// @licence CC BY-NC-SA 3.0 (https://creativecommons.org/licenses/by-nc-sa/3.0/)
// @since 2013-09-18
// @icon data:image/gif;base64,R0lGODlhEAAQAKEDAP+/3/9/vwAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh/glqZXN1czIwOTkAIfkEAQACAwAsAAAAABAAEAAAAkCcL5nHlgFiWE3AiMFkNnvBed42CCJgmlsnplhyonIEZ8ElQY8U66X+oZF2ogkIYcFpKI6b4uls3pyKqfGJzRYAACH5BAEIAAMALAgABQAFAAMAAAIFhI8ioAUAIfkEAQgAAwAsCAAGAAUAAgAAAgSEDHgFADs=
// @grant none
// @include http://*.mediawiki.org/*
// @include http://*.wikibooks.org/*
// @include http://*.wikimedia.org/*
// @include http://*.wikinews.org/*
// @include http://*.wikipedia.org/*
// @include http://*.wikiquote.org/*
// @include http://*.wikisource.org/*
// @include http://*.wikiversity.org/*
// @include http://*.wiktionary.org/*
// @include http://beta.musicbrainz.org/*
// @include http://blog.musicbrainz.org/*
// @include http://chatlogs.musicbrainz.org/*
// @include http://duckduckgo.com/*
// @include http://musicbrainz.org/*
// @include http://test.musicbrainz.org/*
// @include http://userscripts.org/*
// @include http://wiki.musicbrainz.org/*
// @include http://wikimediafoundation.org/*
// @exclude http://*google.*/*imgres*
// @exclude http://*musicbrainz.org/release/add*
// @exclude http://*musicbrainz.org/work/create*
// @exclude http://*musicbrainz.org/ws/*
// @run-at document-start
// ==/UserScript==
if(self.location.protocol == "http:") self.location.replace(self.location.href.replace(/^http/, "https"));