icimdb

By knarf Last update Jun 26, 2011 — Installed 706 times.

Summary

Userscripts.org community-based issue reporting. Members of the site vote and comment on potential issues of this script.


Category Votes Comments
Broken no votes 3 comments add comment
Copy no votes 0 comments add comment
Harmful no votes 0 comments add comment
Spam no votes 0 comments add comment
Vague no votes 0 comments add comment



Details

Comments about if this script is broken

SUPER_KEG Posted Jul 13, 2011 12:39pm

Hmm... I was to quick with the previous post, it didn't solve all problems.
The movie title is not assigned correctly to ns in Chrome.
I don't know not enough about javascript to do a complete debug.
However, I have located that after the following line Chrome and firefox differs on the variable ns.

ns.push(r.snapshotItem (i));

Firefox: ns=/movie/alien/
Chrome: ns=

I hope this will help you solving the bug. I would really appreciate if it could work in Chrome

SUPER_KEG Posted Jul 13, 2011 10:44am

Found the solution. Chrome's userscript does not suport GM_getvalue, but include this code and it will work.
if (!this.GM_getValue || (this.GM_getValue.toString && this.GM_getValue.toString().indexOf("not supported")>-1)) {
this.GM_getValue=function (key,def) {
return localStorage[key] || def;
};
this.GM_setValue=function (key,value) {
return localStorage[key]=value;
};
this.GM_deleteValue=function (key) {
return delete localStorage[key];
};
}

SUPER_KEG Posted Jul 12, 2011 10:47pm

icimdb does not work for me in Chrome 13 beta for me (says that i'm not connected to icm. Also tried it in igkognito-mode without luck), but it works in firefox 3.6 with newest greasemonkey.
OS: ubuntu 10.10

Comments about if this script is copy

Comments about if this script is harmful

Comments about if this script is spam

Comments about if this script is vague