Browse the docs

Take injected code out of the page

Removes what browser.inject put in a page, by its id.

Take id out of the page

Details #

Removes the CSS, HTML and highlights with that id from the page, and a site injection from the browser's list so it stops coming back.

Parameters #

ParameterTypeRequiredValuesWhat it does
idtextYesThe id given to the injection. Required.
browserone ofsafari chrome front
tabany value, via: As in Put CSS, HTML or JavaScript in the page.
viaone ofauto extension appleScript

Every step also accepts label, onFailure, timeout and dryRunSafe.

Examples #

Put a banner in and take it out
Do
  1. Put an overlay in the page
  2. Wait 2 s
  3. Take “busy” out of the page
Open in Switchboard to try it