Bug 262491

Summary: Extensions cannot target specific frames for css injections on webpages
Product: WebKit Reporter: Kiara Rose <kiara_rose>
Component: WebKit APIAssignee: Timothy Hatcher <timothy>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Description Kiara Rose 2023-10-02 10:57:36 PDT
Right now, when we create a user style sheet, we can only specify allFrames or the top frame for UserStyleSheet::create(). For the scripting.insertCSS() API, extensions should be able to specify specific frames for the style to inject to, but that is currently not possible with the WebKit APIs we have.
Comment 1 Radar WebKit Bug Importer 2023-10-09 10:58:15 PDT
<rdar://problem/116689038>