Skip to content

ElectronWebContents.removeInsertedCSS method

ElectronWebContents › removeInsertedCSS

Unofficial

Removes the inserted CSS from the current web page identified by its key.

Signature:

removeInsertedCSS(key: string): Promise<void>

Parameters:

Parameter Type Description
key string The key returned from insertCSS.

Returns: Promise<void>A promise that resolves if the removal was successful.