Tag: google chrome

Mobile browsers don't fire up resize event when hiding address bar

I have two sections on my website, whose height I set to window.innerHeight. When the resize event is fired the height is updated. This works perfectly on my desktop, but on my android phone I get some problems. In Chrome for android, if you scroll down so that the address bar gets hidden and the […]

layouts using flex seems to be broken in latest chrome

My Chrome has just auto updated itself to 29.0.1547.57. Now all the layouts with flex config are broken. With Safari and with Sencha Architect’s built in browser it’s all good. I wonder if I am the only one experiencing this. Is there any quick solution? Do not want to downgrade Chrome… Thanks

Detect blocked popup in Chrome

I am aware of javascript techniques to detect whether a popup is blocked in other browsers (as described in the answer to this question). Here’s the basic test: var newWin = window.open(url); if(!newWin || newWin.closed || typeof newWin.closed==’undefined’) { //POPUP BLOCKED } But this does not work in Chrome. The “POPUP BLOCKED” section is never […]

Adsense error: “Blocked a frame with origin..”

The full error is: Blocked a frame with origin “http://deltavmap.com” from accessing a frame with origin “http://googleads.g.doubleclick.net”. Protocols, domains, and ports must match. Where deltavmap is my site. I’ve found related questions to this kind of error but none that have given me a solution. The error doesn’t seem to appear in anyother browser excpet […]

Detect input type search clear button in Chrome (and IE10)

I’ve written a plugin, which imitates the behavior of a Chrome search input field. (Having an X, which clears the input). However, Chrome and IE10 are supporting such behavior natively, so I don’t want to apply the plugin in those browsers. I found a way for IE10. Inject a style element into the DOM, that […]

chrome.webRequest.onBeforeRequest.addListener function not being called

So I’m trying to make an extension that if you put a twitter username in the address bar and press enter, it will go to that twitter page instead of going to google, but it doesn’t even trigger the function no matter what I enter in the address bar. Manifest { “manifest_version”: 2, “name”: “Twitter […]

Highlight text feature in browser (Chrome) which looks like highlighting in android

I want to implement feature (for chrome extension) which allows the user to select some text from webpage in browser with mouse and I want to add ability for the user to edit selection boundaries (like it can be done in android application) with small controls below the selected line which can be moved with […]

jQuery 1.10 causing css3 animation to fail in chrome

This will work in firefox but not in chrome although it will work in chrome if you remove jquery. Demo: http://jsbin.com/eFUfILI/3/

Can a browser plugin lazy load images?

Before spending time learning the plug-in architecture I was hoping someone could let me know if what I want to do is even possible and possibly offer some guidance. I’ve never written a browser plug-in before but I have am an experience programmer who is pretty good with JavaScript which I understand is what at […]

Can Chrome Show the Original Traceback While Using Source Maps?

When using source maps to allow debugging CoffeeScript code in Chrome, it would be useful sometimes to be able to see the errors in the compiled JS, as you would if you weren’t using source mapping. Is there a way to tell Chrome to display the original traceback?