Instance Method

removeContentStyleSheet

Removes the specified content style sheet.

Declaration

void removeContentStyleSheet(in DOMString url);

Parameters

url

The URL of the style sheet being removed.

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.

removeContentStyleSheets

Removes all content style sheets added by this extension.