Chrome version: 59.0.3063.0 (and all the way back to 39.0.2171.71, where this feature was supposedly introduced in bug 377978)
Steps to reproduce:
1. Download the attached files, save them to a folder.
2. Visit chrome://extensions, enable Developer Mode and load the folder via the "Load unpacked extension" button.
3. Visit example.com
4. Open the developer console and look at the JS console.
Expected result:
After step 3, the page should be red.
After step 4, the console should contain the URL of the page, e.g. "complete http://example.com"
Actual result:
After step 3, the page style does not change. This shows that the styles in the "css" list of the chrome.declarativeContent.RequestContentScript action is not functional.
After step 4, the console shows the expected text, which means that the "js" list of the RequestContentScript action does work as expected.
|
Deleted:
manifest.json
257 bytes
|
|
Deleted:
background.js
357 bytes
|
|
Deleted:
contentscript.js
47 bytes
|
|
Deleted:
contentstyle.css
66 bytes
|
Comment 1 by rob@robwu.nl
, Mar 24 2018Labels: OS-Chrome OS-Mac OS-Windows