Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9109009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T02:56:24+00:00 2026-06-17T02:56:24+00:00

I have old userscripts with jQuery that work fine in Firefox 16, but stopped

  • 0

I have old userscripts with jQuery that work fine in Firefox 16, but stopped working with the Firefox 17 release.

So, I was using version 16.0.2 until today when I tried to upgrade to 18 and the same problem persists. First, I thought that could be Greasemonkey and tried 1.6 version and the Scriptish add-on without success. So I tried to update jQuery version and no solution. It’s not one script it’s all of them with any jQuery code. Also no errors on console is reported.

Anybody does know what’s going on?

Some errors reported by firebug console:

o.attachEvent("on"+e, h);

from:

window.addListener=function(o, e, h){
try{
o.attachEvent("on"+e, h);
}catch(a){
o.addEventListener(e, h, false);
}
} 

Another error on another script

GM_addStyle ( (<><![CDATA[

from:

GM_addStyle ( (<><![CDATA[
    #dtl {
        position:           absolute;
        top:                0;
        right:              0;      
    }
    #dtl iframe {
        width:              950;
        height:             680;
        border:             none;
    }

]]></>).toString () );
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T02:56:25+00:00Added an answer on June 17, 2026 at 2:56 am

    jQuery and Greasemonkey work fine in Firefox 17 and 18 (as long as you keep the sandbox active); that is not the problem.

    • Post and or link to the script that fails!
    • Post an SSCCE.
    • Follow this checklist (and the “How to ask” guidance).

    The only major thing that changed with FF 17, that affected a lot of Greasemonkey scripts, is that Firefox dropped support for E4X.

    With E4X, we could use CDATA to great effect making robust, multiline strings, like so:

    GM_addStyle ( (<><![CDATA[
        #someNodeID {
            position:           fixed;
            top:                0;
            right:              0;
        }
    ]]></>).toString () );
    

    But, now that E4X is no longer supported, we must refactor every bit of code that used CDATA, to using the javascript string escape (\), like so:

    GM_addStyle ( '                         \
        #someNodeID {                       \
            position:           fixed;      \
            top:                0;          \
            right:              0;          \
        }                                   \
    ' );
    

    When using that escape, you must pay extra attention to how you mix ' and " quotes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an old drupal site that I'd like to upgrade, but I need
I have a old rails project that is using rails 3.0.9 and I am
I have an old table that I'm working with, which looks like this: +------------------+--------------+------+-----+---------+-------+
We have old .net 1.1 project that is using a third party component. Aparently
Hi i have native ios app And i have old version that not compitible
I have old text inside a div. I want that text to fly out
I have old code that uses size_t which IIRC comes from cstring.h. On OS
I have refereed old questions and found that people face many issues after installing
I have this old question but no answer works for me from online, the
I have an old skin that I need to adapt to the new MediaWiki

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.