The autoHideStatusbar / Greasemonkey issue dissected

15. elokuuta 2010 klo 21.15
Sijainti: Keskustelupalstat: Userscripts.org discussion

Thanks to your persistence I just tweaked just about every knob there is to tweak and discovered this: once the following preferences are set and Firefox is restarted, the issue appears.

user_pref("extensions.autohidestatusbar.alwayshide", true);
user_pref("extensions.autohidestatusbar.showondownload", false);
user_pref("extensions.autohidestatusbar.showonpageload", false);
user_pref("extensions.autohidestatusbar.showstatusbaritem", false);
user_pref("extensions.autohidestatusbar.timer", 300);
user_pref("extensions.autohidestatusbar.usePanel", true);

(I hope this gets formatted correctly.)

There are two traps here as far as I can see. The first is that once .alwayshide is set to true (i.e. ”Always hide” is selected in aHS’ preferences), the state of .usePanel can’t be changed through the GUI (”Floating statusbar”), and yet, it does make a difference. So it has to be unset before ”Always hide” is selected. Apparently a defect in the add-on’s design, though I see why it might make sense, were it not for the issue at hand (which is a defect unto its own).

The other trap is that the issue of script installing links doing nothing (as described above) doesn’t manifest itself until Firefox is restarted. So to see it you have to turn on ”Floating statusbar”, then (possibly) ”Always hide”, then restart Firefox and boom: Install links have stopped working.

There’s still a chance this might not be the case for you: I’m running Firefox from the distro repositories on Ubuntu 10.04, and Greasemonkey on this setup also comes from the repos. So if you still can’t reproduce this, you may be running the newer version of GM (0.8.20100211.5-1ubuntu2 here, with 0.8.20100408.6 being the latest release on addons.mozilla.org).

Vastaa viestiin sen kontekstissa (Userscripts.org discussion)

Hetkonen, olenko minä muka vieläkin ainut miespuolinen täällä?

14. elokuuta 2010 klo 20.01
Sijainti: Blogit: Sun äitis

Hetkonen, olenko minä muka vieläkin ainut miespuolinen täällä? Missä ne jätkät oikein luuraa? No, jääpähän minulle enemmän pekonia. *ottaa*

Vastaa viestiin sen kontekstissa (Sun äitis)

Vanha kommenttiblogiviritelmäni

14. elokuuta 2010 klo 18.21
Sijainti: Blogit: Sun äitis

Kas, moi Saara! Kiva nähdä sinutkin täällä.

Sä, minäkään en enä muistaa kuinka se silloinen kommenttiblogiviritelmäni toimi, mutta sen sijaan minulla on hämärä muistikuva, jonka mukaan olisin kirjoittanut siitä ohjeet jonnekin. Pitäisi vain muistaa että minne.

Vastaa viestiin sen kontekstissa (Sun äitis)

WordPressin aikavyöhyke ja kesäaika

14. elokuuta 2010 klo 17.36
Sijainti: Blogit: Pinseri

Kyllä sen pitäisi, jos aikavyöhyke on Suomi. Aiemmin siihen piti käyttää erillistä lisäosaa, mutta tuo toiminto on ollut sisäänleivottuna jo… olikohan 2.6:sta alkaen?

Vastaa viestiin sen kontekstissa (Pinseri)

Pinserin aika heittää

14. elokuuta 2010 klo 17.18
Sijainti: Blogit: Pinseri

Noita edellisiä kommentteja jättäessäni kello oli todellisuudessa jotain lähemmäs viisi. Nyt, juuri ennen kuin painan Lähetä-nappia, kello on 17.18.

Vastaa viestiin sen kontekstissa (Pinseri)

Onnittelut viisvuotiaalle!

14. elokuuta 2010 klo 17.15
Sijainti: Blogit: Sun äitis

Onnittelut viisvuotiaalle! Otankin tästä Pommac-lasin ja vetäydyn nurkkaukseen lurkkimaan isojen nimien piletystä.

Vastaa viestiin sen kontekstissa (Sun äitis)

Milläs ihme aikavyöhykkeellä tämä blogi sijaitsee?

13. elokuuta 2010 klo 16.46
Sijainti: Blogit: Pinseri

Oho, milläs ihme aikavyöhykkeellä tämä blogi sijaitsee?

Vastaa viestiin sen kontekstissa (Pinseri)

Kutsu kelpaisi minullekin, jos Voddler tukisi Linuxia eikä vaatisi niin hemmetisti kaistaa.

13. elokuuta 2010 klo 16.45
Sijainti: Blogit: Pinseri

Kutsu kelpaisi minullekin, jos Voddler tukisi Linuxia eikä vaatisi niin hemmetisti kaistaa.

”To view in Standard Definition (SD)
A stable connection of 3,5 Mbit/s

To view in High Definition (HD)
A stable connection of 5 Mbit/s”

Tai no, mikä nykyisin kenellekin on hemmetisti, mutta oma megaiseni ei tuohon riitä lähimainkaan.

Vastaa viestiin sen kontekstissa (Pinseri)

Tried moving the actual .mozilla back into ~

13. elokuuta 2010 klo 11.03
Sijainti: Keskustelupalstat: Userscripts.org discussion

It’s a symbolic link. I tried moving the actual .mozilla back into ~, but it made no difference (i.e. the Install link still wouldn’t work). FWIW, when ran from a terminal, Firefox prints

shouldload: http://userscripts.org/scripts/source/31864.user.js"
ignorescript: false

when I click the Install link with autoHideStatusbar running. It’s the same it does when autoHideStatusbar is disabled, but with the latter, it also prints ”ignoring next script…” and then the installation pop-up appears as it should.

Don’t worry too much about fixing this, I install scripts rarely enough that working around this by disabling autoHideStatusbar each time isn’t too much of a hassle. Although of course, if a solution is found, I’m all the happier.

(And I’m sorry, ky_bluegrass, for hijacking your thread.)

Vastaa viestiin sen kontekstissa (Userscripts.org discussion)

.mozilla symlinked, Greasemonkey was installed first, autoHideStatusbar later

12. elokuuta 2010 klo 21.42
Sijainti: Keskustelupalstat: Userscripts.org discussion

Actually, I do have .mozilla (containing the FF profiles) symlinked. Anything else therein, such as gm_scripts, isn’t though.

According to dates Greasemonkey was installed first, autoHideStatusbar later.

Vastaa viestiin sen kontekstissa (Userscripts.org discussion)

« Uudempia - Vanhempia »