Help get this topic noticed by sharing it on Twitter, Facebook, or email.
I’m confused

No popup with the new version of Chrome 38.0.2125.104

Hi,

I developed an extension and deployed it to the Chrome Web Store. So far so good, until a few days ago when Chrome updated to version 38.0.2125.104. In most of the windows (7 and 8) after the ext is installed, no thanks page and the popup does not work.

In some Windows when I go to the ext windows I can't find the Inspect views link (why???). Fortunately with another machine I could open the background page and I saw this message:

Failed to load resource: net::ERR_FILE_NOT_FOUND chrome-extension://<ext id>/js/background.js

Uncaught ReferenceError: Crossrider is not defined onBGDocumentLoad.js:1


It happens with most of the Windows 7 and 8 and the latest Chrome version. BUT there are some Windows 7 with the latest Chrome and it works ok (although it takes like 10 seconds before showing me the Thank You page)

Any Ideas?

My Ext ID by Crossrider:65305 You can find my ext in the chrome store if you look it by the name displayed in the Crossrider project.

Thanks.
3 people have
this problem
+1
Reply
  • Thomas,

    I was able to install successfully your extension, getting both the Thank You page and the Popup opened:



    Can you please re-export your extension to the Chrome Web Store and let me know if you are still seeing any issues ?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • I’m frustrated
    Hi Shmueli,

    Thanks for the reply.

    Unfortunately, after uploading a new version of the extension, there's no change with the computers that previously failed to show the popup; still no popup or thank you page after installing the ext.

    When I go to the background.html link in the extensions settings of Chrome, and inspect the web page, the next message is shown (same as before):


    Failed to load resource: net::ERR_FILE_NOT_FOUND chrome-extension://oppbpkmaicakglekimk.../js/background.js
    Uncaught ReferenceError: Crossrider is not defined onBGDocumentLoad.js:1
    Failed to load resource chrome-extension://oppbpkmaicakgl.../js/background.js


    Most of the computers where the ext fails have Windows 8 (6.3 compilation 9600) with the latest version of Chrome.

    By any chance do you have one of these machines where you can run the test?

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

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

  • Hello Thomas,

    I installed your extension from the Chrome Store on Windows 8/Chrome 38 and it works (see image). Are you still experiencing this issue? Do you have any software installed that may be blocking the extension from updating itself? e.g. a corporate firewall?

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

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

  • Hi,

    We've also been experiencing intermittent failures to download background.js.

    See attach background.html console trace.

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

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

  • 1
    Hi,

    Eureka (I think :p)

    Found what was the problem. The issue was with the background.js file.

    What I did was to go to the folder where the ext is installed in windows (you can find it by going to the URL chrome://version and copying the profile path and go to the Extensions folder) and compare the files against a version of the ext folder that works in another Windows machine.

    That was the key. I found that the file js/background.js was missing (coherent to what the log showed).

    Because of that I try to copy the background.js from the good path to the folder where it was missing, to my suprise, as soon as I copy the file, it disappeared :0

    Bottom line: Anti-Virus issue (although when I tried to send the background.js file to a co-worker, Outlook didn't let him to download the file :S Looks like the way Crossrider is compressing some js files are good target for some system to marked them as malware or spam)

    Finally what I did was to remove the obfuscation from the background.js file (IntelliJ does that in a couple of seconds) so I ended up with a larger file but with this state of the file, the anti-virus stop nagging about it.

    I have to download the .zip that Crossrider offers to upload to the Chrome Web Store, unzip it, change the background.js file, change the version in the manifest file, compress it and upload it to the store. I'm waiting for the hour to pass in order to test my ext in the machines where the anti-virus was presenting problems.

    I'll let you know.

    Note: Although it's a problem of Anti-Virus, I think the way Crossrider is compressing or presenting some JavaScript files, may present more issues in the future.

    Unanswered Questions:

    - Why it didn't present this error before the last update of Chrome?
    - Why it happens to some of the computers and no all of them (I think it's the version of the anti-virus database, but who knows)

    Shlomo thanks for your help testing the ext in the Win 8 environment :)

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

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

  • Hello Thomas,

    Thanks for the update. Your probably right about the AV database versions.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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

  • It worked like a charm! :)

    No problems with any Windows machines.

    Although I wonder why it didn't happen with the other browsers, if the background.js file should be the same?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

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