Skip to content

Instantly share code, notes, and snippets.

@suchi
Created June 30, 2011 09:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save suchi/1055949 to your computer and use it in GitHub Desktop.
Save suchi/1055949 to your computer and use it in GitHub Desktop.
HTB幸せ満腹道場にPermLinkを追加する Greasemonkeyスクリプト
// ==UserScript==
// @name ShiawaseDojo Permlinker
// @namespace SDP
// @description ShiawaseDojo Permlinker
// @include http://www.htb.co.jp/announcers/mami/*
// ==/UserScript==
d=document,e=d.querySelectorAll('.entry-date'),a=d.querySelectorAll('a[name*="entry_"]');for(i=0;i<a.length;i++){a[i].appendChild(e[i]);a[i].href='#'+a[i].name}void(0)
@suchi
Copy link
Author

suchi commented Jun 30, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment