Changeset 35962
- Timestamp:
- 11/22/09 00:58:06 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/userscripts/hatena/hatena_haiku_avoid_recent_entries.user.js
r35956 r35962 6 6 // @include http://h.hatena.com/* 7 7 // @author fumokmm 8 // @date 2009-11-2 19 // @version 0.0 18 // @date 2009-11-22 9 // @version 0.02 10 10 // ==UserScript== 11 11 … … 15 15 var username = xpath("//p[@class='username']/a", document) 16 16 if (username) { 17 // replace link 17 // Redirect to Favorites page, if requested recent entries 18 if (location.pathname.match(/^\/$/)) { 19 location.href = username[0].href 20 return 21 } 22 23 // Replace link 18 24 var links = xpath("//a[@href='/']", document) 19 25 links.forEach(function(link){ … … 21 27 }) 22 28 23 // insert keywords and hotkeywords link as tab29 // Insert keywords and hotkeywords link as tab 24 30 if (!location.href.match(/^http:\/\/h.hatena.ne.jp\/(hot)?keywords/)) { 25 31 var keywords = document.createElement('li')
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)