Using Google Chrome, I'm seemingly losing/corrupting session data when navigating between pages (PHP 5.0.4, Apache 2.0.54). The website works perfectly fine in IE7/8, Firefox, Safari & Opera. The issue is only with Google Chrome.
I narrowed down the problem. I'm using search friendly URL's, and hiding my front controller (index.php) ...
I have the following HTML code:
<style type="text/css">
.submitbutton{margin-left:-2px;padding:1px}
</style>
...
<form>
...
<input class=submitbutton type=submit value="Create Listings" />
</form>
In Firefox, the input button has more padding than in Chrome.
Any ideas why?
UPDATE: If you're wondering why I have the negative margi...
I am attempting to set the source of an image. The image shows up correctly in IE and Firefox, but it doesn't show in Chrome. The error message that shows up in the console is: "Resource interpreted as image but transferred with MIME type text/html."
ColdFusion.Window.show('loading');
image = <cfoutput>#randrange(1,numImages)#</cfoutput...
I'm wondering about the 3D capabilities of HTML5 versus those of Silverlight. Someone was telling me that Internet Explorer 9 and the next version of Chrome will both feature GPU acceleration. How will this compare to say, the capabilities of Silverlight?
I know Unity is a great 3D engine, but would it be possible to render reasonably c...
I'm thinking in particular of Chrome, though Firebug would be interesting to. I've tried toString() and valueOf(), but neither of those seem to be used. Interestingly, if I take a function it'll display the function definition - but then if I add a toString() method it will show null!
var a = function(){};
console.log(a); // output: f...
I'm trying to generate website thumbnails programatically in PHP. To do this, I'm using imagegrabwindow() with a COM object:
$browser = new COM("InternetExplorer.Application");
$handle = $browser->HWND;
$browser->Visible = true;
$browser->Navigate($pre.$URL);
while ($browser->Busy)
{
com_message_pump(4000);
}
$img = imagegrabwindow($h...
I have this very simple HTML page, and I'm trying to get the CSSRules of #poulet, but when I'm accessing the documents.styleSheets[0].cssRules I get this error in Chrome v5.0.375.55:
Uncaught TypeError: Cannot read property 'length' of null
Here is what my code looks like:
HTML FILE
<!DOCTYPE html>
<html lang="en">
<head>
<link re...
I'd like for my chrome extension to reload every time I save a file in the extension folder, without having to explicitly click "reload" in chrome://extensions/. Is this possible?
Edit: I'm aware I can update the interval at which Chrome reloads extensions, which is a half-way solution, but I'd rather either making my editor (emacs or t...
Can I create a Google chrome extension to prevent the page from doing an alert() ?
...
Update: Bug Resolved. Answer points go to whoever explains why the fix works.
If you highlight and copy the text in the first paragraph on this page, then paste it into a rich text editor (dreamweaver or gmail in rich text mode), you will see that some of the text is automagically linked. Basically, it works:
http://seox.org/link-build...
I'm trying to route watir through a proxy pragmatically -- this means within the script I'd like to change my proxy dynamically before launching the browser.
Here's what I've tried so far (and so far am failing):
I'm running chrome and lucid lynx ubuntu. I chose TREX cause I thought watir might be making use of PROXY or something.
I re...
Hi Folks,
I have a scenario in which I have 2 Submit Buttons in a form for going back and forward.
Both the buttons have different JavaScript associated with it. It is working great if we press these buttons to navigate.
But when in Google Chrome, when someone press enter on any of the text box within the Form it does not calls the on...
Hi All,
I am new to Ajax and have been following a tutorial from JQuery.com. I have set up a script that is very simple, when an h2 element is clicked a php script is called that returns some xml which JQuery the uses to replace the current h2 contents. Below is the javascript content:
$(document).ready(function () {
$('h2').click(fu...
I have an XML file in the following structure.
<NewDataSet>
<markers>
<name>name text</name>
<desc>desc text</desc>
<Lat>57.149328033771</Lat>
<Long>-2.12561060173764</Long>
<cost>9985</cost>
</markers>
</NewDataSet>
I'm using Google Map API to parse and map these, using the following Javascript.
function load() {
if (...
I'm trying to figure out a way to have multiple sessions at the same website at the same time.
I've been using the SHDocVw.InternetExplorer control in Visual Studio 2008 to open a web browser and log in, but at times we need to use a separate login.
I haven't found a way to do this using just internet explorer (it just uses the credent...
I have begun using Google Chrome as a primary browser, but I miss my Evernote extension, which can clip a web page directly to the local Evernote application. Is it possible for me to write an extension in Chrome that can do this?
...
Hey Everyone,
I seem to have a strange problem. I am working on a simple dashboard that is using JQuery tabs to organize and display Google Visualization graphs. I am using a modified PHP wrapper to generate the JavaScript for the Google Vis side of things. The Google Visualization graph renders correctly in Chrome, Safari, and Safari f...
I'm unsure how to prepend the number 0 to a number in javascript.
Example input would be 1234, and this would wind up as 01234. Everything I try keeps adding the number zero, as opposed to prepending (obviously). Is there some way to escape the character, or some specific syntax for this?
This is for chrome.
...
Making a Google Chrome extension and need to run a script after the head is loaded, because there are scripts in the head and I need them to run. And before the DOM is loaded, because there's an inlined script in there that I need to beat.
How would I do this? How do I detect when head loads?
...
I have a page that Google Chrome insists on thinking is in French.
Here's a snapshot of it:
http://yootles.com/outbox/overcleverchrome.html
Note that I'm including a meta http-equiv tag to tell it that it's in fact in English:
<meta http-equiv="Content-language" content="en">
But it doesn't help.
Is there anything else I can do to p...