Chrome: Disable same origin policy
Is there a way to disable the same origin policy on Google's Chrome browser? This is strictly for development, not production, use. ...
Is there a way to disable the same origin policy on Google's Chrome browser? This is strictly for development, not production, use. ...
I have a simple JavaScript script: <style> body { min-width:357px; overflow-x:hidden; } img { margin:5px; border:2px solid black; vertical-align:middle; width:75px; height:75px; } </style> <script> function dynamicTag() { var request = "http://localhost:8000/iStatus/add/12345;dfsdfsd;dsfsdfsd;1"; var head = ...
I have created a facebook fan page here: http://www.facebook.com/apps/application.php?id=120196931351044&v=app_120196931351044 It incorporates iframes to call certain pages/image galleries which use jquery. Everything works fine in all browsers except for Chrome. Nothing shows up in Chrome from the iframes, just empty white backgro...
I'm having issues with Google Chrome (5.0.375.70) and an expandable Flash ad: http://www2.okblitz.com/adtest.html When "Click to Expand" is clicked on the closed ad, Chrome displays a "Missing Plug-in" error. The expanded ad creative itself loads fine as can be seen when it opens expanded by default. The script itself is using jQuery ...
I'm trying to implement a WebSockets server in C and so far, everything seems to be fine. I tested my implementation on Mac OS X 10.6.4 using Safari Version 5.0 (6533.16) and Google Chrome 5.0.375.70. As they both use WebKit, they unsurprisingly both yield the same results: Handshake works and sending UTF-8 string from and to my server w...
For example if I go to a page $('element').cumulativeOffset().top returns 400 if I refresh this page it retrns 100 for the same element, only in chrome. Any idea how to solve this? ...
Does anyone know of a website or blog that demonstrates - with functioning examples - all the various -webkit-appearance CSS settings? The trial and error approach is getting old. Bonus points if there's further explanation of various of these -webkit styles ...
I am creating an extension that will launch an external script based on highlighted text. So, far, the script works, except I am having issues closing the newly created window. In my background.html, I have the following: <script> function executeScript(selection) { var queryText = 'script:' + selectedText; chrome.tabs.create({url...
It seems that in Webkit-based browsers (Chrome and Safari) when a Post/Redirect/Get is performed on the server, the entire page (html + images + css, etc.) is redownloaded. It appears the same as if you reloaded the page. There's been a question (and somewhat of a solution) posted in the Google Chrome Help: http://www.google.com/support...
Why doesn't Chrome specify AM or PM when displaying a date by using date.toLocaleString() ? The string I get is Fri Jun 25 2010 11:21:09 GMT+1000. While IE returns almost the same string but with AM after the time. Is there any method on the Date object I can call to check whether it's AM or PM and, more importantly, check whether user'...
I've spent a few hours now trying to figure this one. I've got a store display that cycles through properties and I've knocked up a simple gallery sort of script. For the last week it has worked beautifully. I went in today to tinker some unrelated JavaScript (but on the same page) and now there is an issue. To make the images fade to...
I need to extract menu items using module chrome from mainmenu module output: <ul class="menu"> <li id="current" class="parent active item1"><a href=""><span>Menu item1</span></a> <ul> <li class="item1"><a href=""><span>Menu Item</span></a></li> <li class="item2"><a href=""><span>Menu Item</span></a></li> <li class="item3"><a href=""><s...
Has anybody been able to get Speed Tracer and profiles working in Chrome? To use Speed Tracer I have to install "development channel" Chrome, which reinstalls the stable version. And the dev. version seems to ignore --enable-udd-profiles, i.e. Ctrl+M does nothing. I'm fighting the latency and I was hoping Speed Tracer would help me und...
I'm using this .align-left { float: left; width: 49%; } .align-right { float: right; width: 49%; text-align: right; /* depends on element width */ } With this html: <span class="align-left">this shows to the left<span><span class="align-right">this to the right<span> And it works fine in IE/FF but not in Chrome...
So, I'm working on a WYSIWYG editor with an already setup Grammar, etc. I've been tasked to add copy and paste functionality for cross program. The code I have works in Google Chrome on Ubuntu, Firefox in Ubuntu and Windows, but not in Chrome on windows. I've tracked down the problem to something basic. When the paste command is sent (t...
I am trying to clear the values contained within a form using an HTML input type reset. It seems fine and resets the values in Safari and Firefox, just not in Chrome (Mac OSX). Does anyone know a way around this without writing javascript to do it? (I have done it this way before but want to avoid it) <form ... > <input type="text" ....
I'm having a problem with a Userscript in chrome. I have been using a version of this extension in Greasemonkey for a long time now, but I can't figure out how to parse through a NodeList in Chrome. Here is the code as it is in Greasemonkey (please note that the code on the site is really bad, so that accounts for a lot of my code: fo...
I'm having problems with a sidediv that wont get the height to 100% in chrome. It works just fine in FF. Im using html, body { padding: 0px; width: 100%; height: 100%; } #div { min-height: 100%; } Why is that ? ...
I am looking for a way to determine a given tab's opener (parent tab) within a Google Chrome extension. I've looked at the documention for Tab but there doesn't really seem to be anything that would yield this information. http://code.google.com/chrome/extensions/tabs.html I've tried injecting this content script into pages (thinking I...
I'm a novice web developer, and I've had Firebug recommended for debugging several times. So far, however, I've just been using Chrome's built-in "Developer Tools". It seems to do everything that Firebug does, and is cleaner and more organized as a bonus. As I get more advanced in my debugging, are there features that Firebug has that I...