早上起来发现Google Groups 又不能正常访问了(可恶的 G’F'W)。

  还好Google Groups有提供Https链接,把网址链接的Http换成Https即可。不过像我等懒人怎么能忍受做这种挫事。

  随便写一句Greasemonkey的脚本搞定。话说Greasemonkey真是好用,HoHo。

附代码:

   1: // ==UserScript==
   2: // @name       GoogleGroups  Secure
   3: // @description  强制使用Https 访问Google Groups
   4: // @namespace      http://example.com/projects/
   5: // @include        http://groups.google.com/*
   6: // ==/UserScript==
   7:  
   8:  
   9: window.location.href = window.location.href.replace(/^http:/, 'https:');

相关日志