#606 ✓resolved
Enkidu

Scriptish's GM_addStyle fails but Greasemonkey's implementation works with SocialFixer beta

Reported by Enkidu | March 27th, 2012 @ 02:41 AM

Provide the following information:

  1. Your operating system (and version)
    Win7 64 Ultimate

  2. Your browser (and version)
    FF 11.0

  3. The version of Scriptish you are using
    0.1.7

  4. Your language and/or locale (e.g. "en-US")
    de-DE

  5. Clear steps to reproduce the bug (including a reduced-case user script, if applicable)
    a) Install http://socialfixer.com/beta/6.405/socialfixer.user.js
    b) open www.facebook.com and login

  6. Any error messages seen in the Error Console
    Nothing! No visible error!

  7. A description of what you expected to happen
    SocialFixer should be active

  8. A description of what actually happened
    Nothing.

Tracing down the problem, I noticed that it is GM_addStyle causing the problem. If you edit the script e.g. like

alert(1); // <== just to see if this point is reached
GM_addStyle(css,'sfx_styles');
alert(2); // <== just to see if this point is reached

I get alert 1 but no alert 2.

Using the same script in Greasemonkey, it works fine!

In https://www.facebook.com/sfxdev more people noticed this problem!

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket