google-chrome

Chrome: remove window border / decoration

Is it possible somehow via a Chrome extension to remove most of the window border content (like address bar, tab bar)? I'd like to have some standalone windows with some webpages inside but without any space wasted. My purpose is for example to build a Chrome extension which strips everything out from the side except the Flash/video/wh...

SVG Polyline (and Path) Scaling Issue

I have written a mathematical software that is able to plot graphs (among other things). First it creates the graph itself, i.e. a set (or list, call it whatever you want) of points { (x0, y0), (x1, y1), ..., (xn, yn) }, and then lines are drawn between these points. On-screen, using either Windows GDI or OpenGL, it looks great, if onl...

Selectedtext Chrome

What I actually want to do is get selected text when a button is pressed. It works fine in IE and Firefox with the code I am using but the selectedText variable is empty in chrome and Safari. I dont know what to do about them, any help? The code I am using is: $('.a-button').click(function() { $('.bubble').hide(); if($.browser....

set up speed tracer with ubuntu 9

Hi there, I am having a small issue in setting up speed tracer with ubuntu. any help (document/hints...) will be appreciated. ...

How did Chrome create a different GUI for the browser?

I am interested in how Chrome was able to write such a good looking GUI? What libraries and methods did they use? I am particularly amazed that it acts 100% like a regular GUI - you can drag it by the blue strip and the regular buttons [_, o, x] are made differently. Also tab dragging is so seamless. In fact you can drag a tab outside o...

Customise DNS per-process

Is it possible (on Windows) to simulate a "per-process" hosts file? Or, is it a feature of any current web browser to be able to customise the DNS mapping? Edit: For example, a side-by-side test lab scenario simulating a future DNS change. It would be neat to avoid having to use two separate computers! ...

CORS not working on Chrome

I've set up Cross-Origin Resource Sharing on a server (Jetty using the CrossOriginFilter) and it works perfectly on IE8 and Firefox. On Chrome, it just ... doesn't. $.ajax({ url : crossOriginURL, type : "GET", error : function(req, message) { alert(message); }, dataType : "json" } ); The error function is i...

chrome browser: inspect element window

Hello everybody, in google chrome's previous version, in the inspect's console window, i can see my page activity such as when i click a link, that link'URL will show in the console of the inspect window, but now with latest version of chrome, 5.0.x.x, i can no longer see this detail. Has this feature been moved to somewhere else? can ...

How can I include a link in a the popup of a google chrome extension?

I am experiencing some problems with a google chrome extension I have made. I've put this simple line of code at the top of the popup page: <a href="http://www.google.com"&gt;google&lt;/a&gt; However, clicking on it yields no results. But I have someone else's extension that includes links in the popup in exactly the same way, and see...

Any fix for chrome and it's timeupdate event bug on audio/video tags?

Just stumbled upon a huge bug in Chrome (looks like it is fixed in coming Chrome 5): http://code.google.com/p/chromium/issues/detail?id=25185, basically it stops throwing timeupdate events after two or three seconds of playing, hence no way to update player interface. Is there any established javascript level fix for this? ...

Uncaught SyntaxError: Unexpected token :

I am running an AJAX call in my MooTools script, this works fine in Firefox but in Chrome I am getting a Uncaught SyntaxError: Unexpected token : error, I cannot determine why. Commenting out code to determine where the bad code is yields nothing, I am thinking it may be a problem with the JSON being returned. Checking in the console I s...

[Add context menu on chrome] How to add a custom item into the chrome context menu?

Is there any API to be used to add a custom item into the chrome context menu? For example: Now, I wanna add a "send to ..." item to context menu(right click), when it is clicked the contents selected in the webpage will be sent to someone. I searched the chrome APIS and found that chrome.experimental.contextMenu is competent for my r...

Hitting enter in any textbox in chrome triggers the form submit, even when there is no submit button.

I am building a site which uses jQUery validation plugin and want things validated before submitting the form. My code looks like follows <form> <input type="button" value="Submit the Form" onclick="validateAndSubmit()" /> </form> <script language="javascript"> function validateAndSubmit(){ //do some validation and then submit ...

How to get sIFR to reload fonts each slide using the jquery.cycle plugin?

Hello, I'm using the jQuery library "cycle" to rotate a bunch of div's at the top of my page, within these div's i have a h1 tag, which is styled with sIFR. see example here: 2011 Website The problem is on webkit browsers, the h1 tags which aren't visible on page load aren't rendered, after doing a bit of research on this, it seems i ...

Creating Chrome Extension - How do I populate a form

I am creating a Google Chrome extension and want to populate a form field on a page. I am trying something like this with no effect: chrome.tabs.executeScript(null, {code:"document.body.form[0].email_field='" + email + "'"}); } ...

Loading HTML directly from AJAX causing errors in Chrome

If I use AJAX to pull some HTML to display on the page and the HTML has something like in the code, it throws an error in Chrome. E.g: Entity 'mdash' not defined Is there anyway to safety pull HTML code from AJAX to display on the page? ...

Javascript Speed - Chrome v Firefox

I wrote this small game at http://amarnus.me/games/dodge. Now if you trying playing the game in both Firefox and Chrome, you would clearly notice that it is significantly slower in Firefox. You can call it an unintentional cheat code, yes. ;-) So my question is - Is this because of a slower Javascript engine in Firefox when compared to ...

save and load browse window / tab layouts

I have a large web application where the user will setup many browser tabs and browser window layouts. For example, having 2 windows open vertically next to each other. I need a way to save it and then load it later. So from analysis i need to: 1. Detect what bwoers tabs are using a certain URL. 2. Detect their position. 3. then save i...

window.onfocus event doesn't fire in Google Chrome?

Hi folks, I have a situation where I want to confirm a user is still allowed to edit a page when the page gets focus. This will prevent them from giving up editorship in one tab and then returning to edit in the original tab, or giving up editorship and then using the browser BACK button to return to the page where they could still edi...

jquery works in IE & FF but not in Chrome

Objective is to read from ticker.xml, parse, and set the html of headline1, headline2, headline3, etc. divs to the values of ticker.xml. This works great in IE 8 and FF but not in Chrome. Any thoughts? <script type="text/javascript"> $(document).ready(function() { $.ajax({ url: 'ticker.xml', type: 'GET', dataType: 'xml', ...