script gets imdb login status wrong

in
Subscribe to script gets imdb login status wrong 7 posts, 3 voices



2ZDqnkZl User
FirefoxWindows

Hi, I am using ver 2.1.1 (2009-09-02). Greasemoneky ver. 0.8.20090123.1 . I love the idea of this script!

I am logged into imdb but the script incorrectly states that I am not logged in. At the time of initial install, the script was working correctly but now it does not work. I've tried uninstallng and reinstalling the script but that did not fix it.

See the following screenshot for details.
http://img14.yfrog.com/i/imdbcollectionmanagerp...

I've also set the debug to true in the script but it did not give out any additional messages.

Can anybody tell me what I am doing wrong? What can I do to fix this? Thanks.

 
andre-r User
FirefoxX11

The layout of imdb changed recently and with this some ids.
Look for

var account = document.getElementById('nb15personal');

in the script und change it to
var account = document.getElementById('nb_personal');

 
2ZDqnkZl User
FirefoxWindows

andre-r,

That seems to fix it, thanks. However, the page layout is all broken for firefox 3.5.3/Windows XP SP3 . This happens even in safe mode (which I assume all plugins are disabled.).

 
2ZDqnkZl User
FirefoxWindows

> the page layout is all broken for firefox 3.5.3/Windows XP SP3 .

The page layout seems to work fine when I fiddle w/ site preference settings. FYI, here is my current site preference settings:

Display full credits (title pages): checked
Hide theater showtimes on title page: checked

 
Futuros Script's Author
FirefoxWindows

I can still use it without problems.

Why do you get a different layout? Is it a imdb beta test or something?
---
The broken page layout is not caused by this script when it even happens in safe mode.
Cause, like you said, GM is disabled in safe mode.

 
andre-r User
FirefoxX11

See: http://www.imdb.com/board/bd0000040/thread/1466...
"In the next several days you will see our new nav bar redesign on IMDb. Some of you may see the new nav bar ..."

Since it seems there are two designs at the moment, it is probably better to get the account element with something like:

var account = document.getElementById('nb15personal') || document.getElementById('nb_personal');

---
As for the page layout, I don't have any problems (FF3.0/Linux or FF3.5/Windows).

 
Futuros Script's Author
FirefoxWindows

script is updated to accomodate the ui change

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel