MediaLab Love Chapter 2

Assistance of MediaLab Love about Javascript test and more...

Greasemonkeyでファイルがインストールできない時の対処

Windowsを再インストールしたらGreasemonkeyが使えなくなってしまいました。いろいろ調べたら既知のバグのようです。

Update: If you install Greasemonkey 0.6.2 without any prior version installed, installing scripts will not work. You'll see a "file not found error. We'll be updating soon to fix this and are sorry for the bug. Meanwhile, the following will fix you up:

  1. cd
  2. mkdir gm_scripts
  3. Unix: touch gm_scripts/config.xml
  4. Windows: echo "" > gm_scripts\config.xml

要するに、0.6.2以降のGreasemonkeyをいきなりインストールすると、ファイルをインストールすることができないようです。対処としてはプロフィールフォルダの下にgm_scriptsフォルダとその中にconfig.xmlファイル(中身は空のファイル)を作ればよいそうです。