Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox 26.0 beta + Greasemonkey 2.3 で動作しない #5

Open
gifnksm opened this issue Jan 17, 2015 · 0 comments
Open

Firefox 26.0 beta + Greasemonkey 2.3 で動作しない #5

gifnksm opened this issue Jan 17, 2015 · 0 comments

Comments

@gifnksm
Copy link

gifnksm commented Jan 17, 2015

コンソールに以下エラーメッセージが出力されます。

"[NicoNicoFavlist] Error: Permission denied to access property 'toString'" niconicofavlist.user.js:2535:16
UserScriptApp</UserScriptApp.prototype.start() niconicofavlist.user.js:2535
<匿名関数> niconicofavlist.user.js:2571
x.Callbacks/c() jquery.min.js:4
x.Callbacks/p.fireWith() jquery.min.js:4
.ready() jquery.min.js:4
q()

以下箇所を変えたところ、動作するようになりました。
Greasemonkey組み込み関数の toString 呼び出しがエラーとなっているようです。

--- niconicofavlist.user.js     2015-01-17 14:51:27.293588856 +0900
+++ niconicofavlist.mod.user.js 2015-01-17 14:51:52.267535048 +0900
@@ -58,7 +58,7 @@ var util;
         function GMStorage() {
         }
         GMStorage.isAvailable = function () {
-            return (typeof GM_getValue !== 'undefined' && GM_getValue.toString().indexOf('not supported') === -1);
+            return true;
         };

         GMStorage.prototype.get = function (key, defaultValue) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant