Showing posts with label Chrome. Show all posts
Showing posts with label Chrome. Show all posts
Chrome has a new flex layout support since version 29.0.1547.57, this cause a broken layout in Sencha Touch 2.2.1.
Fix this issue by changing the rule order of the st-box mixin.
Open resources/themes/stylesheets/sencha-touch/base/mixins/_Class.scss in a text editor and replace the mixin st-box with the following:
@mixin st-box($important: no) { @if $important == important { display: flex !important; display: -webkit-box !important; display: -ms-flexbox !important; } @else { display: flex; display: -webkit-box; display: -ms-flexbox; } }After re-compiling your css, your application layout should look as nice as in prior Chrome versions.
Friday, August 23, 2013
Short overview where Google Chrome browser stores the Web SQL databases:
Mac OS X (In case you cannot see the Library folder in Mac Finder > make it visible)
~/Library/Application Support/Google/Chrome/Default/databasesLinux
~/.config/google-chrome/Default/databasesWindows Vista/7
\Users\_username_\AppData\Local\Google\Chrome\User Data\Default\databasesWindows XP
\Documents and Settings\_username_\Local Settings\Application Data\Google\Chrome\User Data\Default\databasesYou can use free tools like Lita to access your Web SQL databases.
There are many ways to clear the localStorage of your web browser.
In a common dev toolbar just type:
localStorage.clear();If you are using jQuery:
$.storage('clear');If you are using Sencha:
// proxy var store = Ext.getStore('YourStore'); store.getProxy().clear(); store.data.clear(); store.sync(); // no proxy var store = Ext.getStore('YourStore'); store.removeAll(); store.sync();You can also delete the localStorage via a bookmark. Just add the following snippet as new bookmark:
javascript:(function(){localStorage.clear()})();
Wednesday, March 06, 2013
AJAX-Requests for local files are not working on Google Chrome.
XMLHttpRequest cannot load file:///Users/… . Origin null is not allowed by Access-Control-Allow-OriginTo bypass, either use a HTTP server or start Google Chrome with a command-line switch. Open the Terminal and type the command below:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --allow-file-access-from-filesIf you receive a message like:
XMLHttpRequest cannot load ... Cross origin requests are only supported for HTTP.
Open the Terminal and type the command below:
As long as web security is disabled, it is not recommended to surf on public internet pages. In this mode your web browser is vulnerable for any kind of cross-site scripting.
For more information about Google Chrome command-line switches, take a look at Google Chrome command line switches.
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-web-security
As long as web security is disabled, it is not recommended to surf on public internet pages. In this mode your web browser is vulnerable for any kind of cross-site scripting.
For more information about Google Chrome command-line switches, take a look at Google Chrome command line switches.
Wednesday, November 28, 2012