google-chrome

Local Storage with Chrome 61

笑着哭i 提交于 2021-02-07 10:22:23
问题 Since Chrome 61 it appears that any item added to the local stage no longer gets created as a phsyical file within the local profile. Previously running the command localStorage.setItem('key', 'value') Would create a SQLite file corresponding to the website in... %localappdata%\google\chrome\user data\default\local storage\ But this now no longer seems to be the case, new items are simply no longer created in this location. Anyone have any ideas if this behaviour has been deprecated? Or

Local Storage with Chrome 61

为君一笑 提交于 2021-02-07 10:21:25
问题 Since Chrome 61 it appears that any item added to the local stage no longer gets created as a phsyical file within the local profile. Previously running the command localStorage.setItem('key', 'value') Would create a SQLite file corresponding to the website in... %localappdata%\google\chrome\user data\default\local storage\ But this now no longer seems to be the case, new items are simply no longer created in this location. Anyone have any ideas if this behaviour has been deprecated? Or

Local Storage with Chrome 61

放肆的年华 提交于 2021-02-07 10:21:14
问题 Since Chrome 61 it appears that any item added to the local stage no longer gets created as a phsyical file within the local profile. Previously running the command localStorage.setItem('key', 'value') Would create a SQLite file corresponding to the website in... %localappdata%\google\chrome\user data\default\local storage\ But this now no longer seems to be the case, new items are simply no longer created in this location. Anyone have any ideas if this behaviour has been deprecated? Or

Chrome://inspect without internet connection

折月煮酒 提交于 2021-02-07 09:58:44
问题 I have been developing a website for a project targeting mobile phones and tablets, currently focusing on using the chrome browser. Much of this development has been done on one phone using a laptop. I had been using the "chrome://inspect/#devices" quite painlessly until I came to test on a different phone, when clicking "inspect" resulted in a white page. The problem seemed to be that as I happened to have no network connection at the time, chrome couldn't access some repository and so didnt

Chrome://inspect without internet connection

倾然丶 夕夏残阳落幕 提交于 2021-02-07 09:58:04
问题 I have been developing a website for a project targeting mobile phones and tablets, currently focusing on using the chrome browser. Much of this development has been done on one phone using a laptop. I had been using the "chrome://inspect/#devices" quite painlessly until I came to test on a different phone, when clicking "inspect" resulted in a white page. The problem seemed to be that as I happened to have no network connection at the time, chrome couldn't access some repository and so didnt

Fastest way to add a new blank stylesheet in Chrome's inspector developer tool (“Inspector stylesheet”)

匆匆过客 提交于 2021-02-07 09:57:26
问题 Usually, when I want to test CSS modifications, live, in Chrome, I use: Right click > Inspect Use the bottom right pannel, and use the + button to add a new class, and then edit it there. But I've noticed there's even a handier way: open an "Inspector stylesheet" that opens a blank CSS document, that can be edited, and modifications are displayed live: Question: what's the easiest/fastest way to open such an "Inspector stylesheet" in Google Chrome? (by fastest, I mean faster than Right click,

Show close option in Google Chrome kiosk mode / view

亡梦爱人 提交于 2021-02-07 09:53:42
问题 I have launched google chrome in kiosk mode from my windows desktop application using chrome.exe –kiosk http://www.my.url.com I want to show the CLOSE option/button in kiosk mode. Note that I do not have keyboard available to exit. any help is appreciated. 回答1: Since it's Chrome, you can simply use Javascript: <a href="javascript: window.close()">Close</a> 回答2: Use the Close Kiosk Chrome extension located here: https://chrome.google.com/webstore/detail/close-kiosk

Chrome net::ERR_HTTP2_PROTOCOL_ERROR 200 after a reconnect

时光怂恿深爱的人放手 提交于 2021-02-07 09:37:58
问题 I'm using Node server with an express app which handles a Server Sent Events stream. This is proxied via NginX with http2 enabled. The SSE events are consumed via EventSource in a React app. I'm sending a heartbeat message every 10 seconds to keep the connection alive. This all works great until there is some form of network interruption such as putting my laptop to sleep then re-awaking it. Then from that point on the stream will error every 40 or so seconds with the net::ERR_HTTP2_PROTOCOL

Chrome net::ERR_HTTP2_PROTOCOL_ERROR 200 after a reconnect

社会主义新天地 提交于 2021-02-07 09:37:33
问题 I'm using Node server with an express app which handles a Server Sent Events stream. This is proxied via NginX with http2 enabled. The SSE events are consumed via EventSource in a React app. I'm sending a heartbeat message every 10 seconds to keep the connection alive. This all works great until there is some form of network interruption such as putting my laptop to sleep then re-awaking it. Then from that point on the stream will error every 40 or so seconds with the net::ERR_HTTP2_PROTOCOL

Set focus on iframe in Chrome

和自甴很熟 提交于 2021-02-07 08:21:36
问题 I have an iframe ( id: 'chat' ) with designMode='on' in Chrome. On Enter keypress event I call the function send() , which takes the iframe contents and writes it to a socket. My problem is that when clearing the iframe, I lose focus. How to do I set the focus so I can continue to type text in the iframe? function send(){ var $iframe = $('#chat'); var text = $iframe.contents().text() + "\n"; socket.send(text); // When this is done, the focus is lost // If commented, the focus will not be lost