Hi,
This (newer)
official document states that remotely hosted code (RHC)
"does not include data or things like JSON or CSS."However, in the CWS Developer Dashboard before you submit an item, under "Privacy," it has been listing CSS together with JS and Wasm as remote code:
"Remote code is any JS, Wasm or CSS that is not included in the extension's package."What is the actual policy? Also, would either of the code samples below, which inject user-supplied or remotely obtained CSS strings, be approved by the CWS review team?
// Content script (dynamically created style element)
const style = document.createElement("style");
style.textContent = userOrRemoteCssString;
document.head.appendChild(style);
// Service worker (injection via insertCSS)
chrome.scripting.insertCSS({ target : { tabId : getTabId()}, css : userOrRemoteCssString });
Thank you very much.