All Questions
Tagged with javascript google-chrome
27,032
questions
0
votes
0
answers
9
views
How to Implement onPause and onResume using mediarecorder api in javascript
I am currently developing a Chrome extension that records the tab, but I am having difficulty implementing the onpause and onresume feature with the Javascript MediaRecorder API.
I'm calling pause() ...
3
votes
2
answers
102
views
How are ES6 module imports with HTTP redirects supposed to work?
When importing a JS module (e.g. https://example.com/module.js) from a URL that returns a 301/302 redirect to a specific version of the module (e.g. https://example.com/module-42.js), the redirected ...
-3
votes
0
answers
62
views
Why is my website not allowing me to store in local storage? [closed]
I have a div that I want to display (then will collapse after a timeout) when one first visits my site, but after that I want that div to remain collapsed.
I found this jsfiddle that seems perfect for ...
-3
votes
0
answers
31
views
Error In Creating a JavaScript For a Chat Bot, First Time [closed]
can anyone help me build a JavaScript to automate my convo in a chat bot On Chrome? The website is IFreeChat
and what i would like to do is this :
.send a message ("Hi I am X") and then
....
0
votes
0
answers
13
views
Refused to load the script 'https://www.googletagmanager.com/gtag/js?l=dataLayer& [duplicate]
I am working on a chrome extension with React but keep getting this error after unpacking into chrome
Refused to load the script 'https://www.googletagmanager.com/gtag/js?l=dataLayer&id=G-...
0
votes
0
answers
15
views
Copy to clipboard using `writeText` fails in Chrome in cross-origin `<object data='...>` container
I have a cross-origin <object data="{my-cross-origin-url}"> container that contains a copy to clipboard button for an email address with the code:
navigator.clipboard.writeText("...
0
votes
0
answers
11
views
Checking whether page ran as PWA not working on Chrome on Android [duplicate]
I'm using
window.matchMedia('(display-mode: standalone)').matches
to try to check whether my page is running as a PWA. This works on Desktop, but on Android, this returns false despite the page ...
0
votes
0
answers
38
views
MP4 file created using MediaRecorder API is not playable
I am trying to generate an mp4 file from a screen recording done via a chrome extension. The video plays back perfectly on the browser, but when I download the file and play it back locally with a ...
0
votes
1
answer
30
views
Puppeteer: @puppeteer/browsers .install 404 (not working)
I'm working on a project that bundles a repo to an .exe using Node SEA. Bundling puppeteer causes me to need to install chrome myself, so I've switched from puppeteer to puppeteer-core + @puppeteer/...
-1
votes
1
answer
38
views
Allowing autoplay of a video with sound - Chrome
As the title suggests, we have a system we are putting together for a client that requires autoplaying full screen mp4 videos with audio.
We essentially have a navigation list of videos - and when you ...
0
votes
1
answer
27
views
window.getComputedStyle(...).getPropertyValue('width') is returning wrong value on chorome
I'm trying to determin the width of a 1 char element defined simply as :
<div ref={refBBFS} style={{width:"1ch",fontFamily:'some monospace font'}}>X</div>
[ using nextjs 13.1.1 ,...
0
votes
0
answers
27
views
WebRTC localhost demo failed
I need help debugging why this WebRTC demo is failing on my machine (demo is linked below). I'm receiving a WebRTC: ICE failed, add a STUN server. STUN is not required for this demo, there's something ...
1
vote
0
answers
38
views
How would I remove the effects of an event listener on a nested element via a chrome extension?
I have a chrome extension that works as a video overlay to allow for specific timestamp playback.
The extension is activated via keyboard command, and uses a form to input specific time stamps. The ...
0
votes
1
answer
30
views
Chrome outputs emtpy document fragment to the console before inserting it to the dom
When inserting a document fragment to the dom Chrome browser outputs empty document fragment to the console whereas Firefox outputs non-empty fragment before inserting and empty fragment after ...
0
votes
0
answers
67
views
I get two different initial css values in two different major browsers
I was developing a React component that manages a state array. For each element in this array, I used the map method to generate a list of items, which were contained within a div that had the class ...