main/shield-popover
Interfaces
Section titled “Interfaces”ShieldPopoverDependencies
Section titled “ShieldPopoverDependencies”Defined in: app/src/main/shield-popover.ts:26
What the content blocker’s popover needs from the browser process.
Properties
Section titled “Properties”blocker
Section titled “blocker”
readonlyblocker:ContentBlocker
Defined in: app/src/main/shield-popover.ts:31
blocking
Section titled “blocking”
readonlyblocking: (url) =>Blocking
Defined in: app/src/main/shield-popover.ts:33
Whether the content blocker works on a page.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”overlay
Section titled “overlay”
readonlyoverlay:OverlayOptions
Defined in: app/src/main/shield-popover.ts:29
router
Section titled “router”
readonlyrouter:IpcRouter
Defined in: app/src/main/shield-popover.ts:28
settings
Section titled “settings”
readonlysettings:SettingsService
Defined in: app/src/main/shield-popover.ts:30
windows
Section titled “windows”
readonlywindows:WindowManager
Defined in: app/src/main/shield-popover.ts:27
Functions
Section titled “Functions”openShieldPopover()
Section titled “openShieldPopover()”openShieldPopover(
window,anchor,deps):void
Defined in: app/src/main/shield-popover.ts:45
Opens the content blocker’s popover of a window’s active tab at the shield button. The first call connects the overlay’s channels.
Parameters
Section titled “Parameters”window
Section titled “window”The window whose shield was clicked.
anchor
Section titled “anchor”Where the button is, in the window.
height
Section titled “height”number = coordinate
number = coordinate
number = coordinate
number = coordinate
What the popover needs.
Returns
Section titled “Returns”void