Skip to content

Instantly share code, notes, and snippets.

@gengar
Created July 24, 2023 04:48
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 gengar/ffd2e834279ea5e55aa52233515a7984 to your computer and use it in GitHub Desktop.
Save gengar/ffd2e834279ea5e55aa52233515a7984 to your computer and use it in GitHub Desktop.
ジムリーダーの城の保存用HTMLの再現ボタン様のフォームからPD値を取り出すブックマークレット
javascript:(function(){let s,f,i=0,a=document.forms;for(;f=a[i++];)if(f.C&&/^1(?:_x_(?:\d{1,3}_){2}(?:[0-9a-f]_){4}(?:\d{1,2}_){5}(?:\d{1,3}_){4}(?:\d{1,2}_){4}(?:[0-3]_){4}\d{1,3}_0_\d{1,3}){6}/i.test(s=f.C.value))f.C.type="text";})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment