Instance Method

removeContentStyleSheets

Removes all content style sheets added by this extension.

Declaration

void removeContentStyleSheets();

Discussion

Content style sheets specified in the Info.plist are removed only for the current browser session.

See Also

Adding and Removing Scripts and Style Sheets

addContentScript

Adds a content script from a string.

addContentScriptFromURL

Adds a content script from a URL.

addContentStyleSheet

Adds a content style sheet from a string.

addContentStyleSheetFromURL

Adds a content style sheet from a URL.

removeContentScript

Removes the specified content script.

removeContentScripts

Removes all content scripts added by this extension.

removeContentStyleSheet

Removes the specified content style sheet.