Skip to content

Commit

Permalink
Merge pull request #5 from dustinwalker/main
Browse files Browse the repository at this point in the history
Add the "block_cookie_banners" option.
  • Loading branch information
krasun authored Sep 22, 2024
2 parents fc48b44 + 9b9082d commit 954fdd4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/TakeOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,15 @@ public function blockAds(bool $blockAds)
return $this;
}

/**
* Blocks cookie banners.
*/
public function blockCookieBanners(bool $blockCookieBanners )
{
$this->put("block_cookie_banners", $blockCookieBanners ? "true" : "false");
return $this;
}

/**
* Blocks trackers.
*/
Expand Down

0 comments on commit 954fdd4

Please sign in to comment.