In my page I have three audio recorders. And when chrome asks permission to use the mic, it has the options: “allow”, “block” and to close the permission popup. If the use closes de popup, it appears other permission, and after that another (if the user repeats the action). One for each recorder. Is there a way to show this
Tag: google-chrome
Chrome Extension Opens new tab, send message to new tab
I have an App page (extension_id://app.html) I want to create a new tab: however, when I send a message to this tab id it doesnt work. here is the content.js script, but it doesn’t alert or console log Answer adding a setTimeout to call the send function works correctly, just have to have the page load and timer called perfectly,
Hooking Function Constructor (JavaScript)
Does anyone know of a way to detect when a new function is created? I know you can hook the function class constructor but that will only detect new Function() calls, not function func(){} declarations. I assume the JS engine just creates a default function class when it sees a function declaration instead of looking at the global Function class.
WebGazer.js unexpected end of input
So I’m trying to play around with WebGazer but I’m already stuck at loading the js file. The webgazer.js file consists of 140k line of codes, but when I load my page the js file only loads until line 94k. I don’t want to use NPM cause it’s causing me a lot of hassle to install & run the NPM.
SharedArrayBuffer error showing up when making cross origin request
We have a local development enviorment (localhost/) that communicates with our development API on a remote server (api-dev.host.com). After the latest Chrome upgrade, I am getting the following console error when attempting to communicate from localhost to the remote server: While the link in the error does display some information, it is unclear to me how to fix this issue.
Send escape key rather than alt in chrome ssh
I am using the chrome ssh extension to ssh into an ubuntu machine. I have got myself a new 60% keyboard to use with it and as a result, no longer have the backtick as a stand-alone key. I had been using the backtick as the prefix key for tmux. I have now mapped the escape key as the prefix
How to receive and handle Chrome notifications/push-notification?
I just want to write a small script that does Foo() whenever I receive a push notification from my browser(chrome). I tried to find some stuff out there but all I found was how to send said notifications, but I only want to receive them. Anybody can lead me in the right direction? I do not own the backend that
how to launch puppeteer with an already existing profile multiple time
so am trying to launch puppeteer with already existed chrome profile and it works , but what i want to do is to launch the same process multiple time which throw an error (node:12820) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process! [0311/152606.490:ERROR:chrome_main_delegate.cc(679)] Web security may only be disabled if ‘–user-data-dir’ is also specified with a non-default value am doing
How to detect whether a HTML video is DRM-protected with javascript in Chrome?
Quick background: I am writing a browser extension that manipulates video while it’s being played in a browser. The script itself is supposed to be as general purpose as it gets, and it should run on any site that has a video on it. My video manipulations rely on being able to manipulate pixel data from the video. The HTML5-blesed
Why are constants called “constant variable” in Google Chrome console? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 years ago. Improve this question I’ve noticed that when you try to change a const value the Chrome Console console returns the following error: Are there