Page MenuHomePhabricator

Syntax error when editing user script
Closed, InvalidPublic


As soon as I preview a user script, I get a syntax error. Here are the details:

phab bug part 1.PNG (864×1 px, 47 KB)

As seen above, the user script toolbar does not load, and it is not because of a script that I have in there. I have been able to preview this particular user script without any trouble.

The second part is that I am getting a syntax error if I look in the developer console:

phab bug part 2.PNG (152×1 px, 16 KB)

When I click on the file and line number, it takes me to a line that reads:


That is all I have.

Event Timeline

Aklapper changed the task status from Open to Stalled.Aug 24 2018, 8:37 AM
Aklapper removed a project: JavaScript.

Please follow and report back.
Furthermore, please follow and provide exact steps to reproduce. "A user script" on some unknown website does not allow anyone to try to reproduce the problem. Thanks!

@Aklapper: this is on And actually, I just realize that it is a side effect of another of the scripts I wrote, so closing this task as invalid.