Resource interpreted as stylesheet but transferred with MIME type text/html (seems not related with web server)

I have this problem. Chrome continues to return this error Resource interpreted as stylesheet but transferred with MIME type text/html The files affected by this error are just the Style, chosen and jquery-gentleselect (other CSS files that are imported in the index in the same way work well and without error). I’ve already checked my … Read more

Chrome doesn’t delete session cookies

I’m trying to set session cookie in javascript like this: document.cookie=”name=alex; path=/” But Chrome doesn’t delete it even if I quit browser and launch it again. I checked in Firefox and Opera and both work as intended – they delete session cookie on browser exit. Is Chrome just ignoring expiration rules? I checked in multiple … Read more

jQuery `.is(“:visible”)` not working in Chrome

if ($(“#makespan”).is(“:visible”) == true) { var make = $(“#make”).val(); } else { var make = $(“#othermake”).val(); } Make:<span id=makespan><select id=make></select><span id=othermakebutton class=txtbutton>Other?</span></span><span id=othermakespan style=”display: none;”><input type=text name=othermake id=othermake>&nbsp;-&nbsp;<span id=othermakecancel class=txtbutton>Cancel</span></span> The above code runs smooth in Firefox, but doesn’t seem to work in Chrome. In Chrome it shows .is(“:visible”) = false even when it is … Read more

How does Chrome decide what to highlight when you double-click Japanese text?

If you double-click English text in Chrome, the whitespace-delimited word you clicked on is highlighted. This is not surprising. However, the other day I was clicking while reading some text in Japanese and noticed that some words were highlighted at word boundaries, even though Japanese doesn’t have spaces. Here’s some example text: どこで生れたかとんと見当がつかぬ。何でも薄暗いじめじめした所でニャーニャー泣いていた事だけは記憶している。 For example, … Read more

Cryptic “Script Error.” reported in Javascript in Chrome and Firefox

I have a script that detects Javascript errors on my website and sends them to my backend for reporting. It reports the first error encountered, the supposed line number, and the time. EDIT to include doctype: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en” xmlns:fb=”http://www.facebook.com/2008/fbml”> … <script type=”text/javascript”> //<![CDATA[ // for … Read more

ResizeObserver – loop limit exceeded

About two months ago we started using Rollbar to notify us of various errors in our Web App. Ever since then we have been getting the occasional error: ResizeObserver loop limit exceeded The thing that confuses me about this is that we are not using ResizeObserver and I have investigated the only plugin which I … Read more