google-chrome

Custom pdf plugin for internet exporer, firefox ,chrome etc..

I want to write a custom plugin which can open a pdf file for popular browsers(IE , Firefox, Chrome). I am going to use some open source pdf viewer code if I can and put some checks in that code for authentication and license validity. Actually the plugin should work with many file types(Video, audio, doc etc...), I am trying to develo...

Browser doesn't stop loading with jQuery $.get

I use the following jQuery (1.4) code to test whether cookies are accepted: $.get("http://localhost:8080/cookietester/cookietester", function(data) { if (data == "false") document.write("Activate cookies!"); else if(data == "true") document.write("ok"); }); But the browser signals that it doesn't stop page load...

Using remote JavaScript in Chrome Extensions

Is there any way to get remote JS file to chrome extension? My manifest.json looks like this: { "name": "My Extension", "version": "0.1", "content_scripts": [ { "matches": ["http://*/*"], "js": ["jquery.js", "main.js"], "run_at": "document_end", "all_frames": true } ] } I want u...

Why is Chrome cutting off text in my CSS3 multi-column layout?

A demonstration of the problem is here. http://www.vcn.bc.ca/~dugan/css3/newhtml.html The multi-column CSS3 layout displays correctly in Firefox. Opera and IE8 display it as one column (which is fine). Chrome, however, tries to display it as multiple columns and cuts off part of the text. Is there any way to make it work with Chrome? ...

Why is the height of my div tag being calculated as 0 in Chrome?

I'm working on a webpage (link text), but I'm having trouble with the height property in Google Chrome. If you view the page, you'll notice that there is no background color. This is because the #mainContent has a height of 0px. In Internet Explorer, this is not the case. Does anyone have ideas? ...

how to iframe gmail

as i know that gmail might put some security things to prevent this. but i really need this. the 2 following doesn't work <object type='text/html' data='http://mail.google.com/'&gt;&lt;/object&gt; <iframe src='http://mail.google.com/' frameborder=0 style='width:322px; height:480px;'></iframe> any other ways? thanks!!! ...

Firefox and IE6 issue with document.ready()

I have created an html page with a Tabber tab functionality. Each tab has its own table that loads when the tab is clicked and only loads once on the initial tab click to stop the tables loading more than once. Each tab table exists in its own .jsp html file and is loaded through javascript using the $("#tab1").load('tabqtable.jsp');...

where is Safari's Reader code?

Safari 5 has gotten a new feature: The Reader. It shows a simplified version of an article page with just the article itself (and not all the clutter around). It also merges multiple pages (if the article is split across multiple pages) to a single one. This is an extremely useful feature and I would like to port it over to Chrome. I w...

Div covering text input in chrome and user cant select it

On one of my web sites there is a text input box on the left for search. http://wiki.guildwars2community.com/ However in chrome you cant select the input as if you right click>Inspect element it selects a div. Whats strange is the links and buttons underneath it work fine. Any ideas or is this a chrome bug? I have tried setting the z...

How to disable browser default password pop-up?

I am developing a Google chrome plugin. under the options page I am running a AJAX request to the server that requires PASSWORD I just want to catch the error if Password was incorrect, but browser is giving a popup window. Can I disable it and how? ...

Loading indicator with Google Chrome

Hi there, I have problem with Google Chrome or rather Androids (2.1) webbrowser. My webapp calls restservices with each page shift. This takes some time and I need a feedback for the user like a little "working..." popup . The restservices are called with a sync ajax request. Here is an example: $.ajax({ url: some URI, async...

Updating address bar with new URL without hash or reloading the page

I either dreamt about chrome (dev channel) implementing a way to update the address bar via javascript (the path, not domain) without reloading the page or they really have done this... However...I can't find the article I think I read. Am I crazy or is there a way to do this [in chrome]? p.s. I'm not talking about window.location.has...

Chrome's changing height when loading pictures - how to get actual height with jQuery on load

I have the following: var offset = {top: target.offset().top + target.height() + 3, left: target.offset().left}; target.offset(offset); this happens on $(document).ready(..) However, in chrome, the target object is not positioned with the appropriate height. When I placed an alert(..) to show the actual height, I sa...

HTML5 input type="search" issue

I'm working on a Google Chrome extension, and using for a search box, the search displays results in an inline div rather than having a submit button and going off to a different page when it is clicked. Is there any way to detect when the "X" button is pressed at the end of the search field, i need to close the inline div when it is b...

Chrome Extension: communication between iframe and popup

Hi, I'm developing a Chrome extension, Which presents the user with an iFrame once the popup window is shown. I wish to invoke javascript function back on the hosting page. Now while I can access the "parent" object (it is not null) I can not invoke any method (like you would do with standard webpage that hosts an iFrame). Any ideas ho...

How Google Chrome knows my current GPS location and how to use it in my code?

Hello, today i realize that some pages can locate me (im using a laptop with no gps built-in) using google chrome with a an very impresive exactitude, i know that using my IP you can locate me, but not with such presision. Now in google maps you will see a button on top of the yellow men (street view) who locates you using google chrome....

Is something wrong about $(window).load() and Google Chrome?

Sometimes, it just doesn't do what I told it to do. It works perfectly in firefox and IE, but chrome just ignore the instructions. Even something as simple as: $(window).load( function(){ alert( 'hello world!' ); }); I think the problem is when I try to use 2 $(window).load() Is anyone else experiencing this problem or is just me...

Graph Goat Teleportation Data with Google Vis. API via Chrome Extension

I just checked my Chromium task manager and noticed that my Goats Teleported count is abnormally high. I thought it might be a good idea to create a browser extension that runs the goat teleportation data through Google Visualizations API and generates some nice reports so I can track it easily and make sure it doesn't get out of hand. ...

Effect of Update Pannel not seen in the Chrome and Mozilla browsers.

Iam using the date picker in the insert functionallity in the footer of gridview in asp.net. The effect of the update panel for the date picker is seen only in IE. But in the Mozilla and Chrome browser the whole page refreshes, and the calander is not seen. Code that works for IE well but not for Mozilla and Chrom browsers. ...

Google Chrome inset box-shadow bug on Windows, not on Mac: Better workaround?

This is still current on Chrome 5.0.375.125, which is the latest Windows release at the time of this writing. Bug is tracked here: http://code.google.com/p/chromium/issues/detail?id=25334 So, the problem is, if you're on Windows or Linux, and someone uses inset box-shadow on an element that also has border-radius, you get a bug -- the ...