Questions tagged [chromium]

Chromium is the open source web browser project from which Google Chrome draws its source code.

Chromium is the open source web browser project from which Google Chrome draws its source code.

The project's hourly Chromium snapshots appear essentially similar to the latest builds of Google Chrome aside from the omission of certain Google additions, most noticeable among them being Google's branding, auto-update mechanism, click-through licensing terms, usage tracking, and built-in PDF viewer.

Chromium uses the Blink layout engine.

See

4191 questions
19
votes
1 answer

What does the argument --virtual-time-budget of Chrome CLI really mean?

I'm aware of the documentation of the argument --virtual-time-budget in the source of Chromium, but I don't feel I understand it: // If set the system waits the specified number of virtual milliseconds before // deeming the page to be ready. For…
Yihui Xie
  • 28,913
  • 23
  • 193
  • 419
19
votes
7 answers

Chromium/Chrome headless - file download not working?

I downloaded the latest version of chromium, to test out the headless feature. When I run (as root, because I'm still testing things): ./chrome --no-sandbox http://cp7.awardspace.com/speed-test/awardspace-data1mb.zip In the GUI terminal, it opens…
Taapo
  • 1,785
  • 4
  • 18
  • 35
19
votes
10 answers

Javascript - How to stop pinch zoom, multi touch input attacks?

Current Google chrome stable version stopped manually blocking pinch zoom, which was possible in older versions with following settings: chrome://flags/#enable-pinch I am getting attacks in my kiosk from some random pinch zoom/multi touch…
user285594
18
votes
5 answers

Javascript -- Detect if user's locale are set to use 12-hour or 24-hour time format

One way to do that is to parse new Date().toLocaleString(). But this doesn't work in chromium/webkit since the string it returns isn't dependent of the user's locale (see bug report at http://code.google.com/p/chromium/issues/detail?id=3607) I…
brillout
  • 7,804
  • 11
  • 72
  • 84
18
votes
1 answer

Docker Node:Alpine-12: how to install Chromium 73 in Dockerfile?

Since I would like to run Puppeteer@1.19 but faces error in page.pdf(). Some blobs just mentioned to downgrade Chromium from version 76 to 73. How to do it in Dockerfile with using node:alpine-12? Thanks Below is my setting (chromium version is…
DaiKeung
  • 1,077
  • 1
  • 19
  • 38
18
votes
1 answer

How to Clear History (Clear browsing data) In Node.js Puppeteer Headless=false Chromium browser

I am tring to delete history in headless=false browser with node.js puppeteer through below code but non of method work. await page.goto('chrome://settings/clearBrowserData'); await page.keyboard.down('Enter'); Second code await…
Zilvia Smith
  • 511
  • 2
  • 5
  • 10
18
votes
4 answers

Installing Chromium on Amazon Linux

I am trying to install Chromium (or Chrome, whichever) on an Amazon Linux machine. I have tried many steps, to no avail. Here is what I have tried: Simple Yum Install yum install epel # worked yum install chromium generated error…
18
votes
2 answers

Does content script have access to newtab page?

Updated Thanks @kofifus for the info, Chrome as of 61 explicitly forbids content scripts on its default new tab page Previous Say I have the following sample extension, it will output test in console. manifest.json { "name": "Test", "version":…
Haibara Ai
  • 10,703
  • 2
  • 31
  • 47
18
votes
1 answer

Why does Chrome convert the image data to "image/png" mime-type when an image is pasted?

After copying and pasting a JPG image file into Chrome, analysing the data from the Event.originalEvent.clipboardData, the image type is image/png. Why? OS : windows 7 I think it's not possible that the image is converted when it copied to…
Ziyu Zhou
  • 1,679
  • 2
  • 11
  • 17
18
votes
2 answers

Chromium webview does not seems to work with Android applyOverrideConfiguration

Following my change describe in Force locale for Android flavor with resConfig I am facing a problem with webviews containing video. The issue is only on API21+ and really disappear when removing the call to applyOverrideConfiguration. Not so sure…
Eric Labelle
  • 1,987
  • 2
  • 15
  • 23
18
votes
1 answer

Chrome extension: how to intercept requested urls?

How can an extension intercept any requested URL to block it if some condition matches? (similar question for Firefox) What permission needs to be set in manifest.json?
user3833308
  • 1,132
  • 3
  • 14
  • 39
17
votes
4 answers

Selenium use chrome on Colab got unexpectedly exited

I have been using selenium chromedriver in google colab for a while. Today I start my work, I get the error never got before. I'm wondering if this error is related to the chromedriver version. This is install log today !apt-get update !apt install…
17
votes
2 answers

Unable to install Chromium inisde a docker container on M1 macbook

I am Running docker on an M1 Macbook Pro , here i am using this docker script FROM node:current-buster # Create and set user RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb RUN apt-get update && apt install -y…
Srinjoy Choudhury
  • 622
  • 1
  • 4
  • 19
17
votes
3 answers

Enabling Chromium to sync with Google Account

Google announced that from March 15 2021 for the open-source version of Google Chrome, Chromium, it is limiting Private API availability. The main implication of this change is that is no longer possible to sync Chromium bookmarks, tabs, etc. with a…
Bastiaan Quast
  • 2,802
  • 1
  • 24
  • 50
17
votes
6 answers

Simple way to download Google Chrome/Chromium source code

I thought this would be easy but I can't find any link to a simple tar.gz/tar.bz2/zip archive. Chrome uses some custom tools like build_depot to even download the source code. But I don't want to compile the source code, I just want to see how they…
sashoalm
  • 75,001
  • 122
  • 434
  • 781