Cannot catch `file:///` webRequest in chrome extension on Chromebook

Below is a simple extension that works fine on a normal version of chrome. The onHeadersReceived, and onBeforeSendHeaders catch all requests. However, on a chromebook, it doesn’t catch file:/// requests. Could this have to do with extra security measures on Chromebooks, or something like that? Local html files load fine via the SD card on the chromebook, but the request aren’t caught (both the initial html file request, and any local resources like images that are subsequently loaded by that html page).


chrome.webRequest.onHeadersReceived.addListener(function(details) {
}, {urls: ["", "file://*/*"]}, ["blocking", "responseHeaders"]);

chrome.webRequest.onBeforeSendHeaders.addListener(function(details) {
}, {urls: ["", "file://*/*"]}, ["blocking", "requestHeaders"]);


    "name": "test",
    "version": "0.0.1",
    "manifest_version": 2,
    "description": "test.",
    "background": {
        "scripts": ["background.js"]
    "permissions": [

How do I run Jest on Chrome OS?

I just got a new pixel book, and I only know the bear basics of coding and javascript. Could someone please tell me the most expedient way to run this and possibly other good development tools on my Pixelbook.

How to shutdown or log off a user from a chromebook using Javascript APIs in a chrome extension

I’m making a chrome extension that handles logging off and shutting the chromebook down. I looked on for a way to be able to restart the chromebook, but I didn’t find anything.

Right now, this only has to work on Chrome OS.

Chrome extension Notifications display extension’s ID, not the extension’s name

I am developing a Chrome extension which is to be deployed on Chromebooks.

I use new Notification() to display notifications. It works OK on my Windows and Mac development machines: it displays the notification, with title, message and the Chrome extension’s full name.

But on a Chromebook I’m testing on, it displays the Chrome extensions ID (long string of alphanumeric characters) instead of the extensions full name. The title and message display properly though.

I have another Chromebook where this does not occur.

Any ideas on what’s causing this?

Could I use Chromebook as IDE using Chrome DevTools Workspaces 2.0?

Could I use Chromebook as IDE using Chrome DevTools Workspaces 2.0?

How to make a script to move the mouse on a Chromebook?

Is it possible to make a chrome extension/app that automatically moves the mouse to the center of the screen on a Chromebook? If so how?
I’m having a problem with chrome remote desktop with the mouse not returning to the center of the screen so I’m trying to write the script that does that on a Chromebook.