Facebook Sort Recent NewsFeed by Default

Automatically changes facebook's url to show your Most Recent news feed by default instead of the Top Stories.

当前为 2015-12-26 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @namespace Mikhoul
  3. // @name Facebook Sort Recent NewsFeed by Default
  4. // @version 1.1
  5. // @description Automatically changes facebook's url to show your Most Recent news feed by default instead of the Top Stories.
  6. // @include /^https?://www\.facebook\.com/?$/
  7. // @exclude /^https?://www\.facebook\.com/.*\?sk=h_chr*/
  8. // @run-at document-start
  9. // ==/UserScript==
  10.  
  11. location.href=location.href.replace("https://www.facebook.com/","https://www.facebook.com/?sk=h_chr");
  12.  
  13. location.href=location.href.replace("https://www.facebook.com/?ref=logo","https://www.facebook.com/?sk=h_chr" );