question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Script does not seem to work in Google Chrome

See original GitHub issue

I noticed this error in the console. After reading the other issues, I read several requests for any errors in the console, so here you go. As for symptoms, there’s no evidence of the Script running other than the Tampermonkey menu showing it active, and this error in the console.

VM528:62 Syntax error @ "Saliens Hack"!
##########################
JSHINT output:
##########################

SyntaxError: Unexpected identifier
    at new Function (<anonymous>)
    at Object.E_c (<anonymous>:3:304)
    at ka (eval at exec_fn (:1:107), <anonymous>:61:380)
    at Object.create (eval at exec_fn (:1:107), <anonymous>:72:334)
    at e (eval at exec_fn (:1:107), <anonymous>:16:157)
(anonymous) @ VM528:62
Uncaught SyntaxError: Unexpected identifier
    at new Function (<anonymous>)
    at Object.E_c (<anonymous>:3:304)
    at ka (eval at exec_fn ((index):1), <anonymous>:61:380)
    at Object.create (eval at exec_fn ((index):1), <anonymous>:72:334)
    at e (eval at exec_fn ((index):1), <anonymous>:16:157)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Niphanoscommented, Jun 23, 2018

Apparently the issue is with how I added it to Tampermonkey. There was apparently some uncommented text at the beginning and end, and removing that seems to have completely fixed it.

All I did to install it was save the .js file provided on the main page of this github and load it into Tampermonkey. Anyway, this fixed my problem and now it’s working like a charm.

1reaction
Abrynoscommented, Jun 22, 2018

works for me

no problems here

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google Apps Script not working in Chrome - Stack Overflow
It is a known issue with the latest version of Google Chrome. If you open the web app inside Firefox, it would work...
Read more >
JS scripts not loading in the Sources window - Google Groups
Hello, I've been using Chrome to debug my app as I develop it, but since I came from vacation I'm having serious issues...
Read more >
Activate JavaScript in your browser - Google AdSense Help
Activate JavaScript in Google Chrome Open Chrome on your computer. Click. ... Click Site settings. Click JavaScript. Select Sites can use Javascript.
Read more >
Troubleshooting | Apps Script - Google Developers
Open an incognito window in Google Chrome, or an equivalent private browsing window, and log in to the Google Account that has the...
Read more >
How to enable JavaScript in your browser and why
Here you can find instructions on how to enable (activate) JavaScript in five most commonly used browsers. Internet Explorer Mozilla Firefox Google Chrome...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found