Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LCP Snippet not working #44

Closed
dajabba opened this issue Dec 5, 2023 · 2 comments
Closed

LCP Snippet not working #44

dajabba opened this issue Dec 5, 2023 · 2 comments

Comments

@dajabba
Copy link

dajabba commented Dec 5, 2023

I just copied and pasted the LCP script from the site, and I get this error message :

Uncaught EvalError: Identifier 'dedupe' cannot be declared with 'var' in current evaluation scope, consider trying 'let' instead
at eval (LCP:1:1)
at JSON.parse ()
at h (defaultlive-chat-applive-stream-app.ad98fe07.js:2:130276)
at h (defaultlive-chat-applive-stream-app.ad98fe07.js:2:130269)
at defaultlive-chat-applive-stream-app.ad98fe07.js:2:130385

@nucliweb
Copy link
Owner

Hello @dajabba

What is your browser and version?

@dajabba
Copy link
Author

dajabba commented Jan 5, 2024

All good. This was a PEBKAC... I needed to reset my chrome inspector settings to default and then work back up from there to get this all to work.

I'm unsure which Inspector settings were causing an issue .. but I had to click "restore defaults and reload", and for good measure reinstall the chrome.app from scratch.

@dajabba dajabba closed this as completed Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants