! uMatrix: Ruleset recipes 1.0
! Title: Rulesets for English websites
! Maintainer: uMatrix
!
! Lines starting with character "!" are ignored.
! Character "_" is an alias for "currently selected scope".
! An empty line MUST be used to separate distinct ruleset recipes.
!
! Please contribute ruleset recipes for the benefit of all other users:
! https://github.com/uBlockOrigin/uAssets/tree/master/recipes


4chan
	4chan.org *
		_ 1st-party script
		_ 4cdn.org *
		_ 4cdn.org script

Apple Mapkit as 3rd-party
	* apple-mapkit.com
		_ apple-mapkit.com *
		_ apple-mapkit.com script
		no-workers: _ false

Ars Technica
	arstechnica.com *
		_ 1st-party script
		_ arstechnica.net *
		_ arstechnica.net script
		! video playback
		no-workers: arstechnica.com false
		_ player.cnevids.com *
		_ player.cnevids.com script
		_ d2c8v52ll5s99u.cloudfront.net *
		_ d2c8v52ll5s99u.cloudfront.net script
		_ dp8hsntg6do36.cloudfront.net *

Cloudflare Stream as 3rd-party
	* cloudflarestream.com
		_ embed.cloudflarestream.com script
		_ videodelivery.net xhr

Dailymotion
	dailymotion.com *
		_ 1st-party script
		_ dmcdn.net *
		_ dmcdn.net script
		_ ajax.googleapis.com script
		no-workers: dailymotion.com false

Discord
	discordapp.com *
		_ 1st-party script
		_ discord.gg *
		_ discord.gg xhr
		_ discordapp.net *

Disqus as 3rd-party
	* disqus.com
		_ disqus.com *
		_ disqus.com frame
		_ disquscdn.com *
		
Embedly as 3rd-party
	* embedly.com
		_ api-cdn.embed.ly xhr
		_ cdn.embedly.com *
		_ cdn.embedly.com script

Facebook no account
	facebook.com *
		_ facebook.com script
		_ fbcdn.net *
		_ fbcdn.net script
		! Spoofing referrer breaks video playback
		referrer-spoof: _ false

Github
	github.com *
		_ 1st-party script
		_ githubapp.com *
		_ githubusercontent.com *
		! Required for raw/diff view of some files (e.g. pictures, pdf, svg)
		_ render.githubusercontent.com script
		_ render.githubusercontent.com frame
		_ raw.githubusercontent.com *
		_ raw.githubusercontent.com xhr
		! Required for uploading pictures in comments
		_ github-production-user-asset-6210df.s3.amazonaws.com xhr
		! Required for uploading other files in comments
		_ github-production-repository-file-5c1aeb.s3.amazonaws.com xhr

Gitlab
	gitlab.com *
		_ 1st-party script
		_ gitlab-static.net *
		_ gitlab-static.net script

Google account sign in
	accounts.google.com *
		_ 1st-party script
		_ gstatic.com *
		_ gstatic.com script

Google Maps
	google.* *
		_ 1st-party script
		_ kh.google.com xhr
		_ gstatic.com *
		_ gstatic.com xhr
		_ maps.googleapis.com *
		_ maps.googleapis.com script
		! needed for satellite view
		no-workers: _ false

Google reCaptcha
	* www.google.com
		_ www.google.com *
		_ www.google.com script
		_ www.google.com frame
		_ www.gstatic.com *
		_ www.gstatic.com script

IMDb
	imdb.com *
		_ 1st-party script
		_ ssl-images-amazon.com *
		_ ssl-images-amazon.com script
		! required for playing videos
		_ media-imdb.com *
		_ media-imdb.com media
		! required to upload images
		_ 1st-party frame
		_ amazonaws.com script

JSFiddle
	jsfiddle.net *
		_ 1st-party script
		_ jshell.net *
		_ jshell.net script
		_ jshell.net frame
		
Mapbox as 3rd-party
	* mapbox.com
		_ api.mapbox.com *
		_ api.mapbox.com script
		_ tiles.mapbox.com *
		_ tiles.mapbox.com script
		! mapbox gl needs workers
		no-workers: _ false

MEGA
	mega.nz *
		_ mega.nz script
		_ mega.co.nz *
		_ mega.co.nz script
		no-workers: mega.nz false

Netflix
	netflix.com *
		_ 1st-party script
		_ nflxext.com *
		_ nflxext.com script
		_ nflxext.com xhr
		_ nflximg.net *
		_ nflxso.net *
		_ nflxvideo.net *
		_ nflxvideo.net xhr

OpenStreetMap
	openstreetmap.org *
		_ 1st-party script
		! Several on-site tools
		_ graphhopper.com script
		_ overpass-api.de xhr
		_ router.project-osrm.org xhr
		_ valhalla.mapzen.com xhr

Outlook (Formerly Hotmail)
	live.com *
		_ 1st-party script
		_ microsoft.com xhr
		_ office.com script
		_ office.com xhr
		_ office365.com script
		_ office365.com xhr

Protonmail
	protonmail.com *
		_ 1st-party script
		no-workers: protonmail.com false

Reddit
	reddit.com *
		_ 1st-party script
		_ v.redd.it *
		_ redditstatic.com *
		_ redditstatic.com script
		_ redditmedia.com *
		_ redditmedia.com frame
		! Necessary to unbreak ability to upload
		_ reddit-uploaded-media.s3-accelerate.amazonaws.com xhr

Slack
	slack.com *
		_ 1st-party script
		_ slack-edge.com *
		_ slack-edge.com script
		_ slack-msgs.com *

Soundcloud
	soundcloud.com *
		_ 1st-party script
		_ sndcdn.com *
		_ sndcdn.com script
		_ sndcdn.com xhr

Steam
	steampowered.com *
		_ 1st-party script
		_ steamstatic.com *
		_ steamstatic.com media
		_ steamstatic.com script
		
Stripe as 3rd-party
	* stripe.com
		_ stripe.com *
		_ checkout.stripe.com frame
		_ checkout.stripe.com script
		_ hooks.stripe.com frame
		_ js.stripe.com frame
		_ js.stripe.com script
	* stripe.network
		_ stripe.network *
		_ m.stripe.network frame
		_ m.stripe.network script

Twitch
	twitch.tv *
		no-workers: twitch.tv false
		_ 1st-party script
		_ algolia.net *  ! Needed for search feature
		_ algolia.net script
		_ jtvnw.net *
		_ m.media-amazon.com image
		_ ttvnw.net *
		_ ttvnw.net script
		_ twitchcdn.net *
		_ twitchcdn.net script
		
Twitch as 3rd-party
	* twitch.tv
		no-workers: _ false
		_ twitch.tv *
		_ twitch.tv frame
		_ twitch.tv script
		! Additionally, you MAY need to allow 3rd-party
		! cookies in your browser settings :(
		_ ttvnw.net xhr
		_ twitchcdn.net *
		_ twitchcdn.net script

Twitter no account
	twitter.com *
		_ 1st-party script
		_ twimg.com *
		_ twimg.com script

Twitter with account
	twitter.com *
		_ 1st-party script
		_ twimg.com *
		_ twimg.com script
		
Twitter as 3rd-party
	* platform.twitter.com
		_ platform.twitter.com *
		_ platform.twitter.com script
		_ platform.twitter.com frame
		_ cdn.syndication.twimg.com script

Wikia
	wikia.com *
		! wikis are displayed as text-only without this
		_ wikia.nocookie.net *
		_ wikia.nocookie.net script

Vimeo as 3rd-party
	* player.vimeo.com
		_ player.vimeo.com *
		_ player.vimeo.com script
		_ player.vimeo.com frame
		_ vimeocdn.com *
		_ vimeocdn.com script

XDA-Developers
	xda-developers.com *
		_ xda-cdn.com *
		_ xda-cdn.com script

Yahoo Mail
	mail.yahoo.com *
		_ 1st-party script
		_ yimg.com image
		_ yimg.com xhr
		_ s.yimg.com script

Youtube no account
	youtube.com *
		_ 1st-party script
		_ googlevideo.com *
		_ ytimg.com *
		_ ytimg.com script

Youtube with account
	youtube.com *
		_ 1st-party script
		_ googlevideo.com *
		_ googlevideo.com xhr
		_ ytimg.com *
		_ ytimg.com script
		accounts.google.com 1st-party *
		accounts.google.com 1st-party cookie
		accounts.google.com gstatic.com *
		accounts.google.com gstatic.com script

Youtube as 3rd-party
	* youtube.com
		_ youtube.com *
		_ youtube.com script
		_ youtube.com frame
		_ googlevideo.com *
		_ googlevideo.com xhr
		_ ytimg.com *
		_ ytimg.com script
