[Resolved] user-script.js is working?

    • October 8, 2022 at 11:05 pm #12024
      stevland
      Keymaster

      Most people don’t even know about that file. 

      It’s been a long time since I used it, so I thought maybe it was broken.

      I added some simple jQuery:

      $( "body" ).replaceWith( "<h2>Test is successful</h2>" );

      And it worked as expected:

      There is something wrong with your code. My console returns this:

      Uncaught SyntaxError: Unexpected token '=>'

You must be logged in to reply to this topic.

Topic Tags