Chrome: Uncaught SyntaxError: Unexpected end of input

This particular error is one annoying fact about v8. In most cases your JavaScript is broken in some way. For example missing a } or something like that. Example given, this will yield “Unexpected end of input” too: But the root cause of the problems seems to be that the requested JSON url has a Content-Type of text/html which Chrome apparently tries … Read more

Jupyter Notebook not saving: ‘_xsrf’ argument missing from post

The easiest way I found is this: Just open another (non-running, existing) notebook on the same kernel, and the issue is magically gone; you can again save the notebooks that were previously showing the _xsrf error. If you have already closed the Jupyter home page, you can find a link to it on the terminal … Read more

Chrome sendrequest error: TypeError: Converting circular structure to JSON

It means that the object you pass in the request (I guess it is pagedoc) has a circular reference, something like: JSON.stringify cannot convert structures like this. N.B.: This would be the case with DOM nodes, which have circular references, even if they are not attached to the DOM tree. Each node has an ownerDocument which refers to document in most … Read more

Google Chrome forcing download of “f.txt” file

After updating to Chrome 40.0.2214.111, variably when I visit certain Google related sites (like http://youtube.com and get presented with an ad before the video), the browser downloads a file named f.txt. I do not have any adblock plugins installed. f.txt contains a few lines of JavaScript…starting with: In looking up the issue on Google, others … Read more

NET::ERR_CERT_REVOKED in Chrome, when the certificate is not actually revoked

Not sure what it all means, but the answer is there: and Google revoked a Symantec certificate from Google products, but they have suspended the revocation following the type of issues you’re describing (which I also experienced). Quoting the Chromium ticket: First, the good news is the change has been temporarily reverted, and you should … Read more

Hide scroll bar, but while still being able to scroll

Just a test which is working fine. Working Fiddle JavaScript: Since the scrollbar width differs in different browsers, it is better to handle it with JavaScript. If you do Element.offsetWidth – Element.clientWidth, the exact scrollbar width will show up. JavaScript Working Fiddle Or Using Position: absolute, Working Fiddle JavaScript Working Fiddle Information: Based on this … Read more

Jupyter Notebook not saving: ‘_xsrf’ argument missing from post

The easiest way I found is this: Just open another (non-running, existing) notebook on the same kernel, and the issue is magically gone; you can again save the notebooks that were previously showing the _xsrf error. If you have already closed the Jupyter home page, you can find a link to it on the terminal … Read more