HTTP-to-HTTPS redirector script (ZZ)
来源:互联网 发布:淘宝孕妇装秋装 编辑:程序博客网 时间:2024/06/03 21:58
我自己增加网址似乎无效
// HTTP-to-HTTPS redirector script
// 2012-3-15 11:28:41 AM IS2120@CSDN
// WARNING: Enable *only* sites and pages you *know* work the same
// with or without SSL! Failure to comply *will* cause b0rkage.
// (Okay, if you know what you're doing, you also know this isn't
// necessarily true, but then this warning isn't for you anyway.)
//
// ==UserScript==
// @name HTTP-to-HTTPS redirector
// @namespace http://freso.dk/
// @description Replace http:// withhttps:// in the address bar, to make sure you're using the SSL-encrypted version of a page. Only enable for pages that you know are SSL enabled.
// @copyright 2006+, Frederik "Freso" S. Olesen (http://freso.dk/)
// @license Creative Commons Attribution 3.0; http://creativecommons.org/licenses/by/3.0/
// @include http://facebook.com/*
// @include http://www.facebook.com/*
// @include http://twitter.com/*
// @include http://myspace.com/*
// @include http://www.myspace.com/*
// @include http://www.youtube.com/*
// @include http://mail.google.com/*
// @include http://gmail.google.com/*
// @include http://login.yahoo.com/*
// @include http://registration.excite.com/*
// @include http://login.passport.net/uilogin.srf*
// @include http://mail2web.com/*
// @include http://www.mail2web.com/*
// @include http://fastmail.fm/*
// @include http://www.fastmail.fm/*
// @include http://sourceforge.net/*
// @include http://bugs.gentoo.org/*
// @include http://forums.gentoo.org/*
// @include http://bugs.kde.org/*
// @include http://drupal.org/*
// @include http://archlinux.org/*
// @include http://*.archlinux.org/*
// @include http://duckduckgo.com/*
// @include http://www.microsoft.com/*
// @include http://userscripts.org/*
// @include http://da.wikipedia.org/*
// @include http://en.wikipedia.org/*
// @exclude https://*
// @exclude http://mail.google.com/mail/?view=mm&at=*
// ==/UserScript==
(function(){
var debug = 0;
var new_location = location.href.replace(/http\:/, 'https:');
if ( debug > 0 ) {
alert( "Hash: "+location.hash+
"\nHost: "+location.host+
"\nHostname: "+location.hostname+
"\nHREF: "+location.href+
"\nPathname: "+location.pathname+
"\nPort: "+location.port+
"\nProtocol: "+location.protocol+
"\n"+
"\nNew Location: "+new_location);
};
location.href = new_location;
})();
// HTTP-to-HTTPS redirector script
// 2012-3-15 11:28:41 AM IS2120@CSDN
// WARNING: Enable *only* sites and pages you *know* work the same
// with or without SSL! Failure to comply *will* cause b0rkage.
// (Okay, if you know what you're doing, you also know this isn't
// necessarily true, but then this warning isn't for you anyway.)
//
// ==UserScript==
// @name HTTP-to-HTTPS redirector
// @namespace http://freso.dk/
// @description Replace http:// withhttps:// in the address bar, to make sure you're using the SSL-encrypted version of a page. Only enable for pages that you know are SSL enabled.
// @copyright 2006+, Frederik "Freso" S. Olesen (http://freso.dk/)
// @license Creative Commons Attribution 3.0; http://creativecommons.org/licenses/by/3.0/
// @include http://facebook.com/*
// @include http://www.facebook.com/*
// @include http://twitter.com/*
// @include http://myspace.com/*
// @include http://www.myspace.com/*
// @include http://www.youtube.com/*
// @include http://mail.google.com/*
// @include http://gmail.google.com/*
// @include http://login.yahoo.com/*
// @include http://registration.excite.com/*
// @include http://login.passport.net/uilogin.srf*
// @include http://mail2web.com/*
// @include http://www.mail2web.com/*
// @include http://fastmail.fm/*
// @include http://www.fastmail.fm/*
// @include http://sourceforge.net/*
// @include http://bugs.gentoo.org/*
// @include http://forums.gentoo.org/*
// @include http://bugs.kde.org/*
// @include http://drupal.org/*
// @include http://archlinux.org/*
// @include http://*.archlinux.org/*
// @include http://duckduckgo.com/*
// @include http://www.microsoft.com/*
// @include http://userscripts.org/*
// @include http://da.wikipedia.org/*
// @include http://en.wikipedia.org/*
// @exclude https://*
// @exclude http://mail.google.com/mail/?view=mm&at=*
// ==/UserScript==
(function(){
var debug = 0;
var new_location = location.href.replace(/http\:/, 'https:');
if ( debug > 0 ) {
alert( "Hash: "+location.hash+
"\nHost: "+location.host+
"\nHostname: "+location.hostname+
"\nHREF: "+location.href+
"\nPathname: "+location.pathname+
"\nPort: "+location.port+
"\nProtocol: "+location.protocol+
"\n"+
"\nNew Location: "+new_location);
};
location.href = new_location;
})();
- HTTP-to-HTTPS redirector script (ZZ)
- Redirect http to https
- http to https additions
- 网站http to https
- From HTTP to HTTPS and back
- how change oracle oem https to http
- http: server gave HTTP response to HTTPS client
- http: server gave HTTP response to HTTPS client 错误
- HTTPS Everywhere Rulesets (zz)
- Registry Redirector
- ant redirector
- Passenger,nginx and SSL(http redirect to https)
- Configuration to access by HTTPS with SSL in Apache HTTP
- Android WebView blocks redirect from https to http
- configuration of tomcat: switch from http protocol to https protocol
- Redirect all HTTP requests to HTTPS with Nginx
- docker server gave HTTP response to HTTPS client
- http -> https
- I,P,B帧和PTS,DTS的关系
- Windows下载Android系统源码_如何下载Android Launcher源码
- sql azure试用感受3
- 获得APK的图标
- 详细解读 STATSPACK 报告
- HTTP-to-HTTPS redirector script (ZZ)
- 第9章 客户端检测
- 通用权限管理设计 之 数据库结构设计
- 用Map/Reduce来做好友推荐
- 怎么给MyEclipse8.6安装SVN插件?
- 我的第一篇csdn博客
- android中如何设计触摸屏驱动touch screen driver
- 编译Apache\ PHP\ Mysql 注意的选项
- java异常分类