Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Click action events on my popup aren't working.

Click action events on my popup aren't working. I'm getting this error when I inspect the pop up.

background.html:142 Uncaught SyntaxError: Unexpected identifier

background.html seems to be a file that is generated automatically. Can't figure out what the issue.
1 person has
this question
+1
Reply
  • Shlomo (Official Rep) April 19, 2015 07:49
    Hello Barrington,

    I understand that you are having an issue with popup events in your extension. Usually, this works without problems and hence in order to assist further I need to take a closer look.

    Therefore, please provide as much of the following information as possible and I will investigate:

    1. The extension id

    2. The file/line number where the code snippet can be found

    3. Which browser and operating system you are testing on, including version numbers

    4. The exact steps for reproducing the problem

    5. Any additional useful data, such as URLs, screenshots, videos, ...

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • Thank you for the reply

    1. 73340

    2. None of the javascript on popup.html seems to be working, but the actual error that I see in the console is
    background.html:142 Uncaught SyntaxError: Unexpected identifier

    3. Im using Chrome 42.0.2311.90 in OSX Yosemite

    4. All you have to do is install it to get the error. Click on the pop up and you'll see that none of the links are responsive.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited