Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend $stealth modifier #1224

Closed
ameshkov opened this issue Dec 18, 2019 · 3 comments
Closed

Extend $stealth modifier #1224

ameshkov opened this issue Dec 18, 2019 · 3 comments

Comments

@ameshkov
Copy link
Member

We should be able to disable certain stealth mode features, not all of them.

Examples:

  • ||example.org^$stealth=cookie1p -- disables first-party cookies blocking for a given URL
  • ||example.org^$stealth=cookie3p -- disables third-party cookies blocking for a given URL
  • ||example.org^$stealth=referrer -- disables "hiding referrer"
@slavaleleka
Copy link

there are no exception rules for [Stealth Mode - first-party cookies], only for third-party cookies (~30 rules)

also there are such exceptions:

  • IP hiding ~40 rules
  • Block third-party Authorization header ~40 rules
  • User-agent ~20 rules
  • WebRTC ~20 rules

@sxgunchenko
Copy link

sxgunchenko commented Jun 8, 2022

Here are the proposed options:

  • 1p-cookie -- disables blocking first-party cookies
  • 3p-cookie -- disables blocking third-party cookies
  • 3p-cache -- enables cache for third-party requests
  • xclientdata -- disables removing X-Client-Data header from HTTP requests
  • donottrack -- disables sending Do-Not-Track signals
  • ip -- disables hiding IP address
  • 3p-auth -- disables blocking third-party Authorization header
  • searchqueries -- disables hiding search queries
  • referrer -- disables hiding referrer
  • useragent -- disables hiding User-Agent
  • webrtc -- disables blocking WebRTC
  • push -- disables blocking Push API
  • location -- disables blocking Location API
  • flash -- disables blocking Flash
  • java -- disables blocking Java
  • dpi -- disables DPI fooling measures

The modifier can contain one or more options, the options are delimited by | character:

@@||example.com^$stealth=3p-cookie|dpi

@ameshkov
Copy link
Member Author

Looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants