google-chrome

bug in chrome with media queries

核能气质少年 提交于 2021-01-27 15:50:56
问题 I have a wierd problem with media queries in chrome I added transition to some elements in my page and created for example 3 states of media queries when I resize the browser and change the state of media query my elements change size with animation, it's okey and perfect but when I try to keep the size of the browser exactly in the edge of media queries or very close to it my elements quirks and shake, sometimes slow down my page speed like slow motion when I drop the resize, the main

Why when both audio and video MediaStreamTracks enabled parameter set to false, “on-air” indicator keeps being turned on?

我是研究僧i 提交于 2021-01-27 15:50:38
问题 W3C http://www.w3.org/TR/mediacapture-streams/#life-cycle-and-media-flow article on media flow lifecycle says: When all tracks connected to a source are muted or disabled, the "on-air" or "recording" indicator for that source can be turned off; when the track is no longer muted or disabled, it must be turned back on. Is mentioned behaviour implemented in Chrome or not? 回答1: Update: Firefox now supports turning off the camera light on mute. Edits in bold . I gather from the subject that you

Best way to include data (that will populate IndexedDB) with offline HTML5 app?

寵の児 提交于 2021-01-27 14:27:19
问题 I'm building an offline HTML5 app (it will be delivered as a zipped up .crx file). It will be installed and used entirely offline. At no point will there be internet access. AFAIK, there is no way to include a pre-populated sqlite DB (and I know you cannot include an indexedDB), so all the data must be included outside a database, but accessible to the javascript code, and then on the first run, put into the database. What's the best way to do this? (Both from a development/maintenance

Change Chromium icon and “chrome” text to custom icon and text in the Address Bar

早过忘川 提交于 2021-01-27 14:08:34
问题 I'm building the Chromium browser on my Windows pc. I'm following this codebase: https://github.com/ungoogled-software/ungoogled-chromium-windows I only need help in removing two things in the Address Bar (see the image): the "chrome" text and the grey Chromium icon. Let me know if any other information is required. 来源: https://stackoverflow.com/questions/65215821/change-chromium-icon-and-chrome-text-to-custom-icon-and-text-in-the-address-ba

HTML Select Option Title not working in Chrome

試著忘記壹切 提交于 2021-01-27 13:27:30
问题 I have recently upgraded my Chrome browser version In this version i have tried the below code and when i hover the option it does not display the tooltip . <select title="Rejection Codes"> <option title="Desk">SDE</option> <option title="Live">TOP</option> <option title="OnShore">ERT</option> </select> Any one please advise how to achieve this in this chrome version Note: I have googled this thing and most of them faced this issue and from that tickets i didn't get any solution. I saw that

CSS3 transform: translate maximum value?

陌路散爱 提交于 2021-01-27 13:17:46
问题 I created an experiment to infinite-scroll the first billion digits of Pi to find/create a scrolling solution that has high-performance with a massive dataset. I started testing with iScroll and ran into an issue. This demo works great (in Chrome) till around 33 million transform: translate(0px, 3.35545e+07px); You can see the issue by running the following commands in the dev tools console, then scrolling. scroller.scrollTo(0, -33553700); scroller._execEvent('scroll'); Any CSS experts know

What does double dash (--) implies in Selenium ChromeOptions

…衆ロ難τιáo~ 提交于 2021-01-27 13:02:24
问题 I am using selenium with java and I am using some chrome options with it. But I see different usages of chrome options in different sources. I mean some folks using double dash before the option and some do not (like disable-dev-shm-usage and --disable-dev-shm-usage ). Are there any differences between the two usages? 回答1: As per Command-Line Options: Unix tradition encourages the use of command-line switches to control programs, so that options can be specified from scripts. There are three

What does double dash (--) implies in Selenium ChromeOptions

做~自己de王妃 提交于 2021-01-27 12:55:54
问题 I am using selenium with java and I am using some chrome options with it. But I see different usages of chrome options in different sources. I mean some folks using double dash before the option and some do not (like disable-dev-shm-usage and --disable-dev-shm-usage ). Are there any differences between the two usages? 回答1: As per Command-Line Options: Unix tradition encourages the use of command-line switches to control programs, so that options can be specified from scripts. There are three

Close Specific Website with Stop-Process in PowerShell

瘦欲@ 提交于 2021-01-27 12:51:37
问题 I was wondering if anyone is aware of a way to close a specific website that the user has open in Google Chrome? As of right now, I have Google Chrome opening up to a website that the user types in. The site is assigned to the $question variable that you will see below: $question2 = Read-Host "Would you like to copy $question back to the server?" if( ($question2 -eq 'yes') -or ($question2 -eq 'YES') -or ($question2 -eq 'Yes') -or ($question2 -eq 'Ye') -or ($question2 -eq 'Y') -or ($question2

scrollIntoView() using smooth function on multiple elements in Chrome

瘦欲@ 提交于 2021-01-27 12:45:33
问题 element.scrollIntoView with behavior set to smooth is not working as I expect in Chrome. When it is used only on one element in a callstack, it works fine. But if it is used on multiple elements, only the last element will actually scroll. This works fine in Firefox. Is there a workaround for this in Chrome? const $ = (s) => document.querySelector(s) const $$ = (s) => document.querySelectorAll(s) const container = $(".container") for (let i = 0; i < 2; i++) { document.body.appendChild