FAQ Database Discussion Community


My sounds are not playing in Chrome

javascript,html5,google-chrome,audio
I have a small, very basic 3d game that runs in all browsers. But my issue is that when it runs in Chrome I can see in my console messages that the sounds are "pending" and don't play when they should. The thing is that after some time have passed...

Chrome Push Notifications: can't subscribe from sub-path

google-chrome,push-notification
I'm trying to subscribe to the pushManager, and I can only achieve it while on the root (/) path. If I navigate to any sub path (/mypath), I recieve Unable to subscribe to push. DOMException: Registration failed - no sender id provided. The problem is that in order to subscribe,...

Chrome UDP sockets not receiving from remote machine

javascript,sockets,google-chrome,udp,google-chrome-app
I'm working on a Google Chrome app that contains the following code: var socket = chrome.sockets.udp; var PORT = 5005; var HOST = '127.0.0.1'; socket.create({}, function(sockInfo){ socket.bind(sockInfo.socketId, HOST, PORT, function(result){ socket.onReceive.addListener(function(info){ // do stuff with the packet data }); }); }); This mechanism worked perfectly when I was sending data...

How to start Chrome Hosted App in window?

google-chrome,google-chrome-app,hosted
So i know that 'Chrome Packaged App' will run in a window , I have tried to run the website i want in a <webiview> tag but it gets stuck at the beginning and I can't find a way to debug what's happenning inside that <webview> tag. I now have...

Google reCAPTCHA fail for second time submit

javascript,php,jquery,google-chrome,captcha
I implement the reCAPTCHA in this tutorial, https://codeforgeek.com/2014/12/google-recaptcha-tutorial/ which work well for the first time submit. The problems I have are: I send the captcha with other form data e.g. username , email etc.... so if captcha is correct but other not , the user will send it again, but...

Is new line a separator in Javascript

javascript,google-chrome,knockout.js,google-chrome-devtools,knockout-2.0
While debugging a web SPA issue, I stumbled on something to which I could not find concrete references online: missing comma separator between function expressions in javascript. Here's the details: This works - explicit comma as a separator is there (note - intentionally on one line): var f1 = function()...

What does the double colon mean in Scope Local variables in Chrome's debugger?

javascript,google-chrome,debugging
See the screen dump fragment below. Notice that there are two colons between legend and Object (legend is a field of ptd). What does the double colon mean? My problem is that if I test the value of ptd.legend, it is 'undefined'. Which it shouldn't be... ...

childNodes list is empty before page is loaded

javascript,jquery,google-chrome,dom
// Some jQuery to load the HTML file $(function(){ $("#myDiv").load("./someHTMLfile.html"); }); var div = document.getElementById("myDiv"); console.log(div.childNodes); console.log(div.childNodes[0]); // Prints undefined When this code runs, the list div.childNodes is empty, but when I check the variable in the Chrome console, the list is not empty. Chrome also tells me that "Object...

“sort not a function” error in angularjs only in google chrome

javascript,angularjs,google-chrome,sorting
I ran into this problem and am unable to figure out why and couldn't find any explanation on google. I have a $http.get method to retrieve some data from a url, on success i am sorting the response. But when I run the page on google chrome, I get the...

Cannot assign an inst variable in Switch “--user-data-dir” in Selenium Wedriver Chrome

ruby,google-chrome,selenium,selenium-webdriver,selenium-chromedriver
I have the following code and i want to create a user Directory with the name 'mydir' where chrome should output console logs, but wat happens is it creates a directory #{dir} instead. I also tried using CONST Variables still the same result. Can some help me out? require "selenium-webdriver"...

Can I fire up a Chrome extension API from code?

javascript,google-chrome,google-chrome-extension
Is it possible to launch a Google Chrome extension within a website? E.g run some javascript that will launch the extensions UI? I'm building a web-app that will allow users to take screenshots of their desktop and edit them. I've got a sample extension up and running using dektopCapture but...

Three.js + Chrome 43: Error creating WebGL context

javascript,google-chrome
I get an "Error creating WebGL context" error when running this script in chrome 43 under Ubuntu Linux. It worked perfectly fine in chrome 42 ad in the stable release of Firefox. Here's the stack trace: Error creating WebGL context.THREE.WebGLRenderer @ three.min.js:517(anonymous function) @ pen.js:24(anonymous function) @ pen.js:120 Note that...

C# native host with Chrome Native Messaging

c#,google-chrome,chrome-native-messaging
I spent a few hours today researching how to get Chrome native messaging working with a C# native host. Conceptually it was quite simple, but there were a few snags that I resolved with help (in part) from these other questions: Native Messaging Chrome Native messaging from chrome extension to...

Speed up tests run in Chrome

javascript,osx,google-chrome,karma-runner
This is based on this question where it was discovered that when Chrome is not in the foreground, the tests run really slow. Anyone know how to get around that so I can continue to use Chrome, but don't have to keep it in the foreground?

CSS: Chrome & Safari ignore table-cell heights

html,css,google-chrome
Here's the setup: <div id="container"> <!-- display: table --> <div id="row"> <!-- display: table-row --> <div id="content1"> <!-- display: table-cell; height: 500px --> The content </div> <div id="content2"> <!-- display: table-cell; height: 500px --> The content 2 </div> <div id="content3"> <!-- display: table-cell; height: 500px; overflow: hidden --> The content...

Cannot find the CSS Errors in Chrome

css,google-chrome,browser,web-inspector
I'm trying to debug a website and in Chrome's inspect element I'm seeing 8 errors and 1 warning. The Warning shows up right next to the problem. However, the Errors don't show up anywhere and I can't locate them. Also, the errors and warnings show an underline when I hover...

Google Chrome Add Bookmark Image

html,html5,google-chrome,browser,web
Recently Google have added a new interface when users click the star icon in the address bar to add a site to their bookmarks. The UI displays the page title as well as anything from the meta description element if present, but I was wondering if there's a way to...

css tricks for font awesome in placeholder for chrome

html,css,google-chrome,placeholder
can any one tell me why my font awesome is not working properly in chrome though its working fine with firefox?but if i remove the awesome font then it becomes ok again.click here to see the image here is the html code for my form : <!DOCTYPE html> <html> <head>...

Visualise CSS selectors like :read-only in debug (F12 tools)

css,google-chrome,debugging,google-chrome-devtools
Having :read-only, [readonly] { background-color: aliceblue; } <form> <h2>test</h2> </form> How can I detect, when debugging, say, in Chrome, that the h2(or form) field has an :read-only property (or other type of selector, like :disabled, etc.) set to true? PS. To clarify the question: the question is not about a...

The specified value does not conform to the required format yyyy-MM-dd

jquery,asp.net-mvc,google-chrome,datetime,data-annotations
I have a .Net MVC 5 application that is using Data Annotations, Entity-Framework Jquery 2.1.3 and Jquery UI 1.11.4. When I render an edit form with an input of type date using the UK format "dd/MM/YYYY"; the following error message appears when using Google Chrome: The specified value '10/10/2001' does...

Removing and readding an element pushes another element down, toggling the float in dev tools causes the element to move back to the correct position

javascript,jquery,html,css,google-chrome
I have a container that holds three items. One is floated left, another is centered and the last is floated right. If I remove the center item and add it back the right most item gets pushed down and I don't know why. If you select the right item and...

Bug in Chrome: render big box-shadow

css,google-chrome
I just want to set box-shadow of div to: ... 0 0 500px ... (big blur value). In Google Chrome (last version, windows & ubuntu) I see strange squares-artefacts. In Firefox I get just a normal shadow. JSFiddle: http://jsfiddle.net/2GRGF/1/ (from How to create a box-shadow that covers the entire page?)...

Can Chrome extension content script access all tabs?

google-chrome,google-chrome-extension,content-script
Basically, I want to get all the opened tabs of the browser window, from within a tab, more specifically, in content script. I tried chrome.tabs.query, it works in background script, but doesn't work in content script. So my questions are: Is there a way to do such work? Maybe an...

$.ajax.done works on Firefox but not in Chrome

php,jquery,ajax,google-chrome
I have a very simple AJAX request with jQuery and PHP. This is my code var request = $.ajax({ method: "POST", url: "Url.php", data: { param: valueParam }, dataType: "html" }); request.done(function(html) { alert('Hello'); }); The code works perfect in Firefox 38.0.5 but not works in Chrome 43.0.2357.124m. The problem...

Character rendering is different (IE/Chrome)

html,css,google-chrome,internet-explorer
I'm trying to figure out why does the arrow symbol render differently on Chrome and Internet Explorer but without any success. Surprisingly IE displays it correctly while Chrome has problems with rendering. Ignore the difference in size, it is due to zooming. Chrome IE Regarding CSS, there is only Eric...

Webpack imports-loader with messageformat and angular-translate

javascript,angularjs,google-chrome,webpack
I'm having some difficulty making angular-translate-interpolation-messageformat play nice with the imports-loader for MessageFormat. I outline the issue in this issue. Copied: Even though the module is exposed using UMD (yay) it is actually using the global MessageFormat object here. This is forcing me to either expose MessageFormat onto window (which...

Why Chrome shows \ufeff symbol and gray lines in TypeScript?

javascript,visual-studio,google-chrome,typescript,google-chrome-devtools
When I open my TypeScript in Chrome debugger I see strange red dot at the first line. I believe it corresponds to unrendered symbol \ufeff (as popover says). There is no such symbol in the TS file when I open it in editor (e. g., Notepad++ with "show all...

Rss is not working in Google Chrome usin PHP MYSQL

php,mysql,google-chrome,rss
I have a problem in my code I cant understand that problem. Problem is that my code is only run on Mozila Firefox. when i try to execute it on Google Chrome its begin to download my file and not executed. below is my code <?php include_once'connect.php'; header ('Content-Type: application/xml:...

GET document canceled upon first visit (Chrome)

javascript,jquery,google-chrome,debugging,developer-tools
This is a very strange issue with google chrome that some of my customers are reporting that is happening to them when they first visit my website. Bascially what happens is when they load Chrome for the first time, enter my website domain and press enter. It will load for...

Difference between Google Chrome and Canary

google-chrome
i would like to know that what is the main difference between chrome and canary as the official site says, Google Chrome Canary has the newest of the new Chrome features. Be forewarned: it's designed for developers and early adopters, and can sometimes break down completely. So what is the...

when chrome extension gets updated does the data stored in local storage gets deleted?

google-chrome,google-chrome-extension
I have searched through google spec about chrome storage, but was not able to get a definite answer to my question. I am currently writing my first chrome extension, in which I store the data into a local storage. The thing that is bothering me is that when I release...

HTML & CSS - Full Screen Image

html,css,html5,google-chrome,website
I'm working on a website where I want an image to straight away take up the screen. I want to make it take up the available screen but when you begin to scroll down I want a div to appear with the text and information. I do not mind if...

Suppress “Failed to load resource: net::ERR_FILE_NOT_FOUND” in Chrome Packaged App

google-chrome,webview,google-chrome-app,console.log
I get the message "Failed to load resource: net::ERR_FILE_NOT_FOUND" in the console when a webview in a Chrome Packaged App tries to load a non-existent local file. This is expected, because the program is supposed to check a couple of different location, starting with the local system and then switching...

POST to Laravel 4 Controller from Chrome for Android not working

php,google-chrome,laravel
I have a Controller and View set up to send a POST request to the server. Very simple, common operation. Well, when I test on desktop in Chrome, I have no issue, the POST data gets sent, the database gets loaded correctly, and the page redirects as it should. When...

window.open auto new tab not working in chrome

javascript,php,google-chrome
Javascript window.open() auto new tab not working in Google-Chrome and bypass all browser open new tab. ** auto new tab without click button and click link ** echo '<script type="text/javascript"> window.open("http://www.google.co.th"); </script>'; ** Run for IE "pass" ** Run for Firefox "pass" ** Run for Chrome "fail"...

How to display red borders on required or invalid value input element in Chrome just like Firefox behaviour for HTML5 validation?

css,html5,google-chrome,firefox
I have to bring red borders around the input element in chrome on HTML5 validation like as that of Firefox. I have search it a lot but unable to find precise answer. Any help of how to do it using css is greatly appreciated. Thank you....

How do I change chromes Date-parsing / Sorting to match ff/ie Dateparsing?

javascript,jquery,google-chrome,date,momentjs
So I encounter a very weird problem here and am out of ideas at the moment. I've the following function to parse and sort a json object by its property RowDate, containing datestrings with the following format: "/Date(1389682861507+0100)/". orderByDate: function (json) { debug('[DataCollection::orderByDate], json before ordering: ', json); _.each(json.LineDefinitions, function...

chrome extensions Uncaught ReferenceError: $ is not defined

javascript,jquery,google-chrome,google-chrome-extension
I am trying to make a chrome extension that uses an external javascript file that uses JQuery. But I keep getting this silly error. Screenshot of error in chrome inspector. Any help is appreciated thanks! popup.js $(document).ready(function(){ $.ajax({url: "http://www.google.com", success: function(result){ $("#report-details").html(result); }}); }); popup.html <!doctype html> <html> <head> <title>TEST</title>...

for of loop querySelectorAll

javascript,google-chrome,for-loop,mozilla,queryselectorall
Mozilla states that "for of loops will loop over NodeList objects correctly". (source: https://developer.mozilla.org/en-US/docs/Web/API/NodeList) However, this doesn't work in Chrome 43. Is this incorrect documentation or a browser bug? The copied example code used on a page with checkboxes: var list = document.querySelectorAll( 'input[type=checkbox]' ); for (var item of list)...

SVG styling issue occurs second time onwards : chrome only

javascript,google-chrome,dom,svg
This is a weird issue. I am having a SVG on my page function addClone() { //loadXMLDoc(); var svg = document.getElementById("svg"); var selected = document.getElementById("ID_obj8e530fe7-9e8b-474e-a48b-9c26418b84a6"); var targetElement = selected.cloneNode(true); var namespace = "http://www.w3.org/2000/svg"; var dummySvg = document.createElementNS(namespace, "svg"); dummySvg.appendChild(targetElement); svg.appendChild(dummySvg); //Doing my stuff here with newly appended dummy element. debugger;...

li and a element styling issue with Chrome after clicking a link

html,css,google-chrome,styles,html-lists
I have a simple menu that works fine in Firefox, but when using Chrome the links move around when you click on them and so it breaks the styling. I read from somewhere that display: block; on a element would fix this, but it didn't. You can see a demo...

My Chrome Extension Keeps Saying Its Corrupted

google-chrome,google-chrome-extension
I recently got a Chrome Developer account, i paid the 5 bucks and stuff. I published my extension after extensive testing and it works perfectly, but after i uploaded the app and then downloaded it to test it, whenever i try to open it, it disappears from my chrome bar...

Is HTML5 drag and drop compatible with Chrome Apps (packaged)?

html5,google-chrome,google-chrome-devtools,google-chrome-app
I've tried the traditional methods and it works as a webpage in Chrome, but not when I'm using the page as a packaged app. I'm just doing this example from W3 for testing purposes since it's very simple. http://www.w3schools.com/html/html5_draganddrop.asp...

How to redirect Google Chrome users to an error page

php,google-chrome
A part of my page does not work on Google Chrome. So how do I send Google Chrome users to an error page with PHP because I don't know how to tell which browser the user is using. P.S. Apologies for spelling / Grammer issuses, I need to get used...

Chrome Developer Tools shows favicon 404 error in Brackets LivePreview

google-chrome,debugging,google-chrome-devtools,developer-tools,adobe-brackets
I've just started doing Anthony Alicea's "Javascript: Understanding the Weird Parts" course, and he's using the live preview feature of Brackets to demo his code. The first module is a barebones HTML page with a script tag linking to an empty JS file. When I open this page in Brackets...

NetBeans - how to open Chromium open source project with netbeans?

c++,google-chrome,netbeans
For community, i have this project compiled/build/released manually using NotePad++ but its very difficult to work for such large project with just one text editor. I want to use the large project with my favourite NetBeans IDE, to get fast coding done and use some tools of NetBeans while coding...

Google AppEngine channel is opened, client is receiving responses, but socket.onmessage is not being called

javascript,google-chrome,google-app-engine,long-polling,channel-api
I have a webpage that I want to use the google app engine channel API with. I have a token being generated with an external library, which is fed into this very, very simple javascript. <html lang="en"> <body> <script src="jquery-1.6.3.min.js" ></script> <script type="text/javascript" src="/_ah/channel/jsapi"></script> <script type="text/javascript"> var token, channel, socket;...

Google Chrome - How to compile Google Chrome in Windows?

google-chrome,visual-c++,windows-8.1,ninja
Documentation mentioned to compile i have to follow this instruction for Windows: http://www.chromium.org/developers/how-tos/build-instructions-windows So i did all the steps, but the following is failing how can i resolve it? C:\tpt\depot_tools>mkdir out\Debug C:\tpt\depot_tools>ninja -C out\Debug chrome ninja: error: loading 'build.ninja': Het systeem kan het opgegeven bestand niet vinden. ninja: Entering directory...

Text Align Center in Chrome (webkit)

css,google-chrome
Any idea why text-align: center doesn't center the text within the table cells? But text-align: -webkit-center does? The reason why display: table-cell is applied is to have vertical-align to work. Removing it is not a solution and doesn't answer my question. .wrapper { text-align: center; } .column { width: 33%;...

Restore bookmarks of deleted Chrome user?

google-chrome
accidently i deleted my chrome user on Windows 7. I tried to restore it, copied C:\Users\USERNAME\AppData\Local\Google\Chrome\User Data\Default to C:\Users\USERNAME\AppData\Local\Google\Chrome\User Data\Profile 1 Everything looks fine expect all of my bookmarks are missing. I've checked and nothing find Bookmarks nor Bookmarks.bak Have i got any chance to get back my bookmarks? Thanks....

Chrome driver information in console

java,google-chrome,selenium,webdriver,selenium-chromedriver
Im using ChromeDriver in my selenium tests, in console Im getting: Starting ChromeDriver 2.15.322448 (521791b310fec1797c81ea9a20326839860b7d3) on port 15823 is there any way to skip or not show this at all in console output?...

LocalStorage Anomalies in Chrome and Firefox

javascript,jquery,html5,google-chrome
I made a website which uses localStorage, but I mainly tested it in Opera. The way the website gets the locally stored data is by using a JS for loop: for (var key in localStorage) { // DO STUFF! } When my friends used the website with chrome and firefox...

$(this).val() not working in FireFox but works in Chrome

javascript,jquery,html,google-chrome,firefox
This is my problem. When I try to set the value of an input field in FireFox nothing happens. I don't get any errors. It simply just doesn't work. It is supposed to add two decimal places after the number. It works perfectly in Chrome. Here's my jQuery code... $('input.drawer').on('blur',...

How SCSS rule evaluation done by browser

html,css,google-chrome,mozilla
I am working on a project where i am using an internal UI Library. In one of the CSS file, i saw something which looks strange. To simplify things, I am reciprocating with basic html elements and corresponding css: CSS: div{ border:1px solid black; width:100px; height:100px; } .parent //some comment...

Document won't load into iframe with changed, but proper, name

javascript,html,google-chrome,iframe
What I'm trying to achieve is being able to load contents of href in to one of three iframes, by changing thier names via java. The problem is: Chrome will always load contents into first iframe, ignoring it's name change, this problem does not occur in Firefox. function change_name() {...

What format is the log prefix in the chrome_debug.log?

google-chrome
I have configured google-chrome to dump a debug log to chrome_debug.log in the user-data-dir. This is handy for debugging some of our more obtuse browser problems. However, I'm having some timeout issues, so I'm trying to figure out what the prefix on log lines means. Since this log is from...

chrome linkurl not returning proper url

javascript,jquery,google-chrome
I was doing some chrome extension dev and I found linkurl method giving some strange url back like this "https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&uact=8&ved=0CDQQFjAD&url=https%3A%2F%2Fdeveloper.chrome.com%2Fdevtools%2Fdocs%2Ftips-and-tricks&ei=41OEVfSXG4nioATdvrCAAQ&usg=AFQjCNHiSugE_b8f5LZbiamLQzS2Df2I9Q&sig2=acYqGi4bSiUgLeO4HwwM5Q&bvm=bv.96339352,d.cGU" Is there any way we can get the proper url ? My code is here function genericOnClick(info, tab) {...

Chrome display issue with flexbox and overflow

css,google-chrome,flexbox
I'm using flexbox to do a straightforward header/body/footer layout. However, when my "body" has lots of content (enough to force a scrollbar), I'm seeing an issue in Chrome: it forces the header and footer elements to shrink when they shouldn't be. This only happens in Chrome (IE11 and Firefox work...

Image quality in Chrome is bad compared to other browsers

google-chrome,image-quality
For some weeks now image quality has been terrible in chrome. I've checked the flags to make sure nothing has been enabled by accident. I've also reinstalled chrome and cleared the search history. Here is the same image open in chrome(on the left) and in internet explorer: http://i.imgur.com/7MEdwt4.png...

Magnific Popup position bug

google-chrome,firefox,position,magnific-popup
There is a strange bug happening when you have got a link triggering Magnific Popup and that link is contained inside an absolute positioned element, which is positioned inside a relative positioned element with overflow:hidden. To reproduce the bug, checkout this example in Chrome or Firefox: http://codepen.io/mediadivisiongmbh/pen/bdRjKy HTML <div class="hover-container">...

Flash analysis for Chrome Extension

javascript,google-chrome,flash
I'm reading a tutorial on how to create your own Chrome Extension using Javascript/HTML/CSS. I wanted to practice a bit on a facebook flash game to make my life easier, you know what i mean BUT i don't know how to read flash memory online or how to analyse the...

python 3.4 Google Chrome history

python,google-chrome
I am really getting stuck on the thing I am trying to make. I want to make a really simple script to display the history of Google Chrome. When I use the following lines of code: f = open('C:\\Users\\joey\\AppData\\Local\\Google\\Chrome\\User Data\\Default\\History', 'rb') data = f.read() f.close() I get the next output,...

logging message on chrome console in expressjs - MEAN Stack

javascript,google-chrome,express,mean-stack
I have a created routes and calling some functions in expressjs. This function is properly getting executing and retuning data. exports.index = function (req, res) { Data.find({ parent: null }, function (err, employee) { if (err) { return handleError(res, err); } return res.status(200).json(employee); }); }; I want to log some...

Magento admin panel not working in chrome [duplicate]

google-chrome,magento
This question already has an answer here: Why I can not login to magento backend using google chrome 9 answers I installed latest version of magneto in my Localhost but when i opened this on my server, the admin panel not redirect in chrome but on Firefox it works...

chrome.storage.sync.get sync with outer level object, but inner object is not sync?

javascript,google-chrome,asynchronous,sync
I am trying to use chrome.storage.sync.get to get back the settings. What I don't understand is that when I call console.log(settings), it returns the correct values. But if I call console.log(settings.speeds), it returns the old values. I think this has something to do with the async nature of chrome.storage.sync.get. Can...

How to respond to multiple bookmark operations in Chrome?

javascript,google-chrome,asynchronous,google-chrome-extension,bookmarks
I'm working on a simple Chrome extension which deals with bookmarks. So far I've discovered two ways to respond to operations that the chrome.bookmarks API provides: pass callback function directly to the API call (eg. chrome.bookmarks.move(string id, object destination, function callback)) register callback function globally (chrome.bookmarks.onMoved.addListener(function callback)) As far as...

@font-face for icons not working in Chrome-Ubuntu

css,google-chrome,ubuntu,fonts
I've recently started using Ubuntu. I installed Chrome from the installer provided on Google's website. When I started working on my sites, I noticed the icons didn't show. They work fine on Windows and on Firefox (both Windows and Ubuntu). I used Fontastic to generate the webfonts from SVG files....

Access DOM elements data document->Iframe ->Iframe->method chrome extension

javascript,google-chrome,iframe,google-chrome-extension
I'm trying to access some data from an iframe nested within an iframe, from developers console: Object.keys(document.getElementById("contentBody"). contentDocument.getElementById('rawContent'). contentDocument.defaultView.window.messages) ["29c736c0ed25463c8436f4990ab6c6ec.zip", "235819a8cf11488e83f0336603b71711.zip", "66c9260590834d9698568c8a676ef406.zip", "fae95e31cb424cd6ad21302217ef2cdc.zip", "f554f712141047aa9aa24f765073e305.zip", "e5c41819578240e0868f43ab6301aeb3.zip"] That's what I expect back, but I've tried to get that...

php redirection working in chorme but not on firefox

php,google-chrome,mozilla
Below is my php code that caries out the redirection Code Snippet :- echo "<form action='exp_yogesh.php?id=$id' method='post'>"; echo "<td> <input type='image' name='putonline' value='$id' src='images/on_button.png' no-repeat; border:none;' alt='submit'> </td> "; echo "<td> <input type='image' name='putoffline' value='$id' src='images/off_botton.png' no-repeat; border:none;' alt='submit'> </td> "; echo "</form>"; Here's the exp_yogesh.php file <?php include 'includes/connection.php';...

Chrome all of a sudden zoomed in on ubuntu

linux,google-chrome,ubuntu
My chrome browser is all of a sudden really zoomed in on my ubuntu system. Not not page content where I can easy control the zoom - but the actual browser! Does anyone know what is going on? I am on the normal 1920x1080 resolution - but my browser must...

woocommerce thumbnails have different image widths in chrome and mozilla

html,css,wordpress,google-chrome,mozilla
Hello I recently run into a weird issue. I am running a Woocommerce theme built on bootstrap 3. I did some custom CSS modification and Image thumbnails appear REALLY narrow on Chrome and fine on Thunderbird. Could someone help me? I might be missing something fundamental here... Before you ask,...

1px white spacing in Chrome between div's

css,google-chrome
JSFiddle: http://jsfiddle.net/lustre/c6cwbjLz/13/ Basically, I've been trying to make a full-screen 3x2 grid, and have essentially achieved it, however I'm seeing a tiny 1px vertical line between the 2nd and 3rd columns when I hover over the grid items. Where is this coming from, and how do I get rid of...

Bordered element with display:table extends out of parent

html,css,google-chrome,safari
This code seems to have a different effect in each browser. .container { display: inline-block; border: 1px solid black; padding-top: 5px; padding-bottom: 5px; } .box { display: table; width: 10px; height: 10px; background-color: red; border: 5px solid blue; } <div class="container"> <div class="box"></div> </div> In Chrome 43.0, the table is...

Chrome Dev Tools console - select frame programatically

javascript,google-chrome,iframe,console,google-chrome-devtools
Using the Chrome Dev Tools console, I'm trying to select an element inside an iframe on the page. Is there a way to do this programatically without having to select the frame in the frames dropdown in order to set the console context to that frame first? Assuming the target...

Why does video resolution change when streaming from Android via WebRTC

android,google-chrome,video,webrtc,video-processing
I'm trying to stream at 640x480 from Chrome on Android using WebRTC, and the video starts off at that, but then the resolution drops to 320x240. Here are the getUserMedia parameters that are sent: "getUserMedia": [ { "origin": "http://webrtc.example.com:3001", "pid": 30062, "rid": 15, "video": "mandatory: {minWidth:640, maxWidth:640, minHeight:480, maxHeight:480}" }...

CSS flexbox wraps content in FireFox (not Chrome)

css,google-chrome,firefox,flexbox,pseudo-element
I have a button that consists of an <i> and an <span> element (an icon and some text). Now both have different sizes so I'm applying a flexbox to my button that should center my items nicely. In Chrome everything works as I expected but using the page in a...

How to use a Web Inspector with emulated android device (AVD)

android,google-chrome,android-emulator,avd,web-inspector
I have the Android SDK downloaded (on a mac), and no access to Android hardware. I can start up AVD and emulate various android devices fine, but I have some CSS I'd like to inspect in the Android browser on said emulated devices. I just can't figure out how to...

Html File Input on Chrome for Android missing extension and mime type

javascript,android,jquery,validation,google-chrome
In html/js, when you select a file on Chrome (43) for Android (5.1.1), the resulting files name is missing the extension and the file type is an empty string. Wondering if there is way to get the missing information? And if not, is there a reasonable way to do clientside...

Intern's pollUntil does not work with Chrome

javascript,google-chrome,intern,leadfoot
I have a custom crawler that redirects to all pages in an application and takes screenshot. The page load works perfectly fine in Firefox. However in Chrome, the page does not load properly and as a result most of the screenshots come as blank. return remote.get(newAddress) .then(pollUntil('return document.readyState==="complete";', [], 30000))...

Supporting WebGL on Android 5's WebView

java,android,google-chrome,android-webview,webgl
I have a web project (depends on WebGL) which works on computers, any browser. Now I am trying this project to be opened as an application on Android based mobile phones. I used WebView to accomplish this. My phone (Nexus 3) had Android 4.3 and as I learnt afterwards before...

How to pass JavaScript function between Chrome browser and PNaCl plugin correctly

javascript,google-chrome,google-nativeclient,ppapi
I wrote a simple echoer PNaCl plugin whose message handler just post the incoming message back unchanged: class Instance : public pp::Instance { public: virtual void HandleMessage(const pp::Var& message_data) { PostMessage(message_data); } }; And, in JavaScript side, I post a message whose data is a function, expect to get the...

Are there any Chrome-specific techniques to scope/isolate CSS?

css,google-chrome,google-chrome-extension,polymer,shadow-dom
I'm writing a Chrome extension that injects HTML into a displayed page. I want the injected HTML to have it's own style, protected from the CSS that may be present in the host page. I've tried using conventional CSS, and still suffer from style corruption from the host page. After...

Chromium SVG image Nesting

jquery,image,google-chrome,svg,chromium
I am trying to append some image tags to an SVG element. In Firefox(38.0) it works fine, but in Chromium (Version 41.0.2272.76 Ubuntu 15.04 (64-bit)) it nests the elements, causing them not to work. function append_image(x, y, img) { var image = $('<image></image>'); image.attr('height', '60px'); image.attr('width', '54px'); image.attr('x', x); image.attr('y',...

What's the best way To edit CSS and JS of Html Template [closed]

javascript,css,html5,google-chrome,google-chrome-devtools
I have a HTML5 Template in my Local Computer. I want to edit this template CSS and JS to use in my project. I use this solution to edit Template Open Web site With Google Chrome also Open with Notepad++ Edit CSS file with Notepad++ and Refresh page in Google...

detect requests calls in a url similar to network in chrome dev tools

javascript,google-chrome,google-chrome-extension,google-chrome-devtools
I don't know if what I am looking for is possible, I want JS, or any other programming method solution to detect the requests calls for a given url page, something similar to chrome dev tools There is a site that displays videos, I would like to access through the...

Chrome - Script tag isn't blocking

javascript,html,google-chrome
In the following example: <script src="1.js"></script> <script src="2.js"></script> <img src="FDA.PNG" alt="" /> The first tag should block the parsing of the html, but according to the timeline, it's not. All the files are loading at the same time, why?...

display flex doesn't work on summary tags in Chrome?

html,css,google-chrome,flexbox
I have a display: flex on a <summary> tag with some child <p> elements. It should arrange them in a row, right? and it does, but only in Firefox. Not on Chrome (43.0.2357.81). Is it just me? http://jsfiddle.net/laggingreflex/5e83uqf9/ summary { display: flex; flex-flow: row wrap; } summary h3 { display:...

Inserting code from Contentscript.js (Chrome Extension)

javascript,php,html,google-chrome
I am Developing the Politics & Information Google Chrome Extension but I have run into a problem, I am attempting to insert a JS Script into one of the div's of the Webpage, the result is nothing, absolutely nothing pops up I know i have the right area because if...

“Tainted canvases may not be loaded” Cross domain issue with WebGL textures

google-chrome,gwt,libgdx,html5-canvas,webgl
I've learnt a lot in the last 48 hours about cross domain policies, but apparently not enough. Following on from this question. My HTML5 game supports Facebook login. I'm trying to download profile pictures of people's friends. In the HTML5 version of my game I get the following error in...

Chrome - open dev tools in new window

google-chrome,google-chrome-devtools
in chrome 43.0.2357.81 I can't find the little box which can separate devtools into a new window I tried googling q=open+inspect+element+in+new+window+chrome nothing new Here is the Screen shot ! ...

How to implement Google Cloud Messaging - Topic Messaging in Chrome?

google-chrome,google-cloud-messaging
In the Google Cloud Messaging for Chrome documentation there are no information about Topic Messaging feature. https://developers.google.com/cloud-messaging/chrome/client Is not yet available? Here is the GCM reference docs without subscribe method https://developer.chrome.com/apps/gcm And here is the Android and iOS reference with the GcmPubSub class that provides subscribe/unsubscribe methods: https://developers.google.com/android/reference/com/google/android/gms/gcm/GcmPubSub...

Chrome extension console.log override

javascript,google-chrome,google-chrome-extension
I'm building a chrome extension that reads the console log and find where an ip appears, after the string "Connecting to", and gets the ip. store = []; var oldf = console.log; console.log = function(){ store.push(arguments); oldf.apply(console, arguments); }; pos = 0 server = "" setTimeout(function(){ for(i = 0; i...

Chrome Extension - How to execute a JS script on page load

javascript,google-chrome,google-chrome-extension,google-chrome-devtools
The following is that I'm trying to achieve Every time 'www.google.com' loads, a script/function triggers. However, the functions itself reloads the page via 'location.reload();' Basically, an infinite loop of reloads. Script reloads page -> Script injected -> Script reloads page -> etc. I want the tab @ google.com to keep...

can't submit form in chrome extension

javascript,html,html5,google-chrome,google-chrome-extension
I have been working in a new chrome extension, and i am Beginner I have a form with login details (username and password) and i want to check username and password with database and move to another page or form in this extension. popup file Local Storage Encoding Local Storage...

Protractor scrolling through executeScript not working

javascript,angularjs,google-chrome,protractor,end-to-end
I am testing my Ionic app. In one page, the button to be clicked is out of the bounds of the window. Hence the following code: element.all(by.css('.item.item-complex')).get(9).click(); throws the error: ElementNotVisibleError: element not visible Hence, I am trying to scroll down the page to make the button visible in page...

How to set caret to newly added element in contentEditable element?

javascript,jquery,google-chrome
I am working on a WYSIWYG editor in which I want to add <p>'s when hit Enter / Return key and then the user will write to this new <p>. Right now I am having issue setting the caret to this new <p>. $('#content').on('keypress', function(e){ if(e.which === 13){ console.log('enter pressed');...

String replace with regex, ie strange results

javascript,regex,google-chrome,internet-explorer
Why i have this results? "hello world".replace(/[']/gi, "\\'"); // on chrome => "hello world" "hello world".replace(/[']/gi, "\\'"); // on ie => "hello world" "hello world".replace((/[']/gi).compile(), "\\'"); // on chrome => "hello world" "hello world".replace((/[']/gi).compile(), "\\'"); // on ie => "\'hello world" Chrome: 43.0.2357.124 m IE: 11.0.10011.0...

Why doesn't Chrome's console display the function code anymore?

javascript,google-chrome,google-chrome-devtools
In the past, if I had a function test with the content function test () { return true; } and I typed test into console, then I'd get back: function () { return true; } Now however, it just returns function test() without the actual function code. How do I...

Is there a way to set breakpoints for every js line in the chrome dev tools?

javascript,google-chrome,devtools
I am quite new to javascript, I often find the need to walk through JS codes line by line to get better understanding how the code works. But manully setting breakpoints for each line in the 'source' panel of chrome is just too time-consuming, is there a way to do...

Using XPath to select the href attribute of the following-sibling

html,google-chrome,xpath,web-scraping
I am attempting to scrape the following site: http://www.hudson211.org/zf/profile/service/id/659837 I am trying to select the href next to the "web address" text. The following xpath selector gets the tag I am after: $x("//th[contains(text(), 'Web Address')]/following-sibling::td/a") returns <a href="http://www.co.sullivan.ny.us">www.co.sullivan.ny.us</a> However, when I specifically try to extract the href using @href, the...