Chrome extension upgrade leaving extension without javascript files - google-chrome-extension

I have an extension in the Chrome Webstore with ~400 000 users. Since a couple of months ago I have been getting e-mails from users whose extension has stopped working for them. They're basically just seeing the HTML page in the popup and options page. No content dynamically added by any JavaScript. After some helpful debugging from one user it appeared that the JavaScript files were gone. He sent me the following screenshot:
So what appears to happen is that the JS files become unreachable, or disappear. My guess is that this happen when an upgrade occurs. I haven't moved or changed the names of any files in any recent updates. No big changes have occurred at all.
I have solved this by sending instructions on how to find the extension on the hard drive, and attaching the extension files, so they manually themselves have to patch the extension. This always works. Now today, after receiving 4 e-mails within an hour with the same problem, I've had enough.
One user had all her extensions stop working at the same time. My guess being that this problem was the culprit. Me sending the patch to her solved the issue for my extension at least.
So my question to stackoverflow is: Has anyone else experienced this? This seems like quite a serious issue with Chrome. It started appearing around Chrome 20 and still happens with 22. My manifest version was prior to a couple of days ago 1.
The extension in question: http://chrome.google.com/webstore/detail/pnjaodmkngahhkoihejjehlcdlnohgmp?hl=en.

Related

Getting CSP reports on www.pagespeed-mod.com

I have switched to using Content-Security-Policy for my website. I'm starting to see reports about the following not being allowed: https://www.pagespeed-mod.com/v1/taas
Does anyone know why the website is trying to load this file? I'm using Google Analytics and Tag Manager, but I don't think that I have any page speed mod installed. Maybe this is an extension in the user's browser? Or when they open developer tools? Another source I could think of is automatic optimization through Cloudflare which I'm also running on.
Extra info: The source of loading this script is https://3001.scriptcdn.net/code/static/1 which doesn't reveal much about who made that.
Had the exactly the same issue and preventing me from using Element Inspector/ debugger. It appears to be some Chrome extension you have installed gone rogue, see if you have extension called "Auto Refresh Plus" installed like i did before.
I also see reports on https://www.pagespeed-mod.com/v1/taas being blocked with the same source of loading. It seems to happen in short periods on the various resources I have reports from. This indicates that it is related to the user/browser and not related to the site itself.
The same can be seen with translators, extensions, security proxies etc. I have given up trying to attribute the source of anything that is likely not caused by legitimate site content.

<form> not posting all of a sudden

I am having a strange issue that I think might be Chrome related but wanted to post here for thoughts.
I have some users who when trying to log into my node.js application, they press enter or the log in button and it just sits and spins and never times out or anything. When looking at the Network tab when this issue occurred the POST never showed up. I then put some alerts on the button click with javascript and as long as the button was in the tag nothing showed up.
Completely deleting the users' profile (suggestion from Google) made it work...until chrome updated and then it happened again.
Using any other browser, no issues. Chrome Beta, the issue shows up. Chrome Canary, I have had 2 users testing for over a week and they have not seen the issue reappear. Incognito has the issue occur as well.
Google Support asked me to send a HAR file to them. The interesting thing was when I opened up developer tools, went to the network tab and then cleared the screen to start a recording, the issue disappeared for that moment only.
It is working for 80% of my users so I can't see how it could be a coding issue, this is also a login that I created over a year ago and have not touched since.
If anyone has any insights I would love to know what might be causing this.

Azure pricing calculator not updating estimates

I am trying to price out various azure services and when I add them to the calculator and make changes the estimate does not update.
I have tried this in Edge, IE, Chrome, Firefox (normal browsing and Private) and I get the same results.
I also ran CCleaner and removed all of the files for each browser.
The calculator did work a few days ago.
Any ideas?
I had the same problem. A solution that works for me is to open a new InPrivate window from the Edge browser. (A new private window from Firefox did not solve the problem).
Perhaps the problem is related to cookies? I have not tested after deleting all cookies. #jake, when you used CCleaner, was it set to delete cookies or just cached data and files?
(For what it is worth, in the Firefox developer console I see several warnings related to failed loading of JS scripts. I can't say if such a failure is the cause of the problem, but it looks like Microsoft needs to do better testing of the calculator page.)

Google Chrome DevTools elements search not working

Since about a week ago, I haven't been able to search for elements or the contents of an element in Google Chrome DevTools. Did the latest Chrome update break this functionality or has something else changed that I should be aware of?
I first thought I had accidentally changed some of the DevTools settings, but now the same thing started happening on my other dev machine as well, so I think it must be a bug in the latest update?
Is it just me? :)
EDIT: After a few days of wondering what could be possible causing this.. it just started working again after I restarted my Win 7 machine. The simplest fix the best fix, huh?
On another note, if the error starts happening again, I'll need to dig deeper as what might cause it and file a bug if necessary.
For now, it works and I'm happy :)
No results in DevTools element search. Here is a screenshot:
I solved that by disabling "Adblock Plus", it worked in 3 browsers I tried.
This is a legit bug. Thanks for reporting it. It's being tracked here: https://code.google.com/p/chromium/issues/detail?id=426815
As of November, it's been fixed in tip of tree (Canary) and has been merged to the beta branch (39).
(Originally answered by vsevik, an engineer who develops the DevTools, however the post was deleted by moderators.) :/
I had the same issue, search wasn't working, because I couldn't see the page. When I clicked on the page, under the Sources tab, I got a blank page. What worked for me was refreshing the page in Chrome. After that, the code showed up in Developer Tools, and I was able to search the code. This seems to be a Chrome bug.

Is my extension crashing Chrome?

I've developed an extension for Google Chrome. It does some cross-domain httprequests, messaging and inserts an iframe into web pages.
After testing it without any problems on Linux, Mac and Windows (XP and 7), I installed it on a colleague's Windows XP pc. After opening 2 or 3 pages, Chrome crashed with the Dutch equivalent of the "Aw, Snap!" page.
After that it kept crashing regularly. Restarting Chrome didn't help. Even after removing the extension it crashed occasionally, though not as often. the colleague says Chrome has never crashed on him before, but then again, he hardly ever uses it.
When running chrome from the command-line with logging enabled, I see the following message:
[1744:628:0703/101212:ERROR:gpu_info_collector_win.cc(98)] Can't retrieve a valid WinSAT assessment.
[4744:4272:0703/090810:ERROR:textfield.h(162)] NOT IMPLEMENTED
Could this be caused (or exacerbated) by my extension? How can I be sure that this is just a one-of and will not crash the browsers of a lot of other users?
Thanks in advance for any help or insights.
Jerry.
Well, your application files are corrupted. App files contain important settings, configurations which you need to be restored again.
Click the Start button, select Run. Type the below path and press ENTER:
C:\Users\USER_NAME\AppData\Local\Google\Chrome\User Data
Delete all the files present in this directory and restart Google Chrome. More solutions here.

Resources