Skip to content

Tag: webkit

Javascript change webkit style with variables

Summary I’m working on an input[type=range] that essentially looks like Chrome’s default but the thumb is green until clicked. That’s the end goal. Through a couple answers that are now buried deep in my browser history (hence lack of credit to them) I am able to get it MOSTLY working how I …

Webkit Javascript Console – How to use it?

I’m working on a project and there is a ton of js, etc in it. I didn’t write it I’m “taking it over”. There is a piece of Javascript somewhere that is adding top: -50px margin to an element with the id of “footer”. When I look into the page source (through the develop…

Convert Data URI to File then append to FormData

I’ve been trying to re-implement an HTML5 image uploader like the one on the Mozilla Hacks site, but that works with WebKit browsers. Part of the task is to extract an image file from the canvas object and append it to a FormData object for upload. The issue is that while canvas has the toDataURL functi…