Frellwit@lemmy.worldtoPiracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•PSA To people watching YouTube with AdBlockersEnglish
3·
1 year agoAlso for anyone wondering how to set the default quality for videos.
Edit your mpv.conf
and add ytdl-format=bestvideo[height<=720]+bestaudio/best[height<=720]
to play all videos in 720p for example.
Lemmy can’t display some characters correctly. replace <
with a left pointing arrow <
If you want to remove parameters from urls you can use the
removeparam
filter in uBlock Origin. Documentation: https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#removeparamFor example:
/?igshid=$removeparam=igshid,domain=instagram.com
For the best performance it’s recommended to make sure the parameter is included in the filter as seen above with
/?igshid
, and with the domain it originated from.Filters for the examples in OPs post:
/?igshid=$removeparam=igshid,domain=instagram.com ?is_from_webapp$removeparam=is_from_webapp,domain=tiktok.com &t=$removeparam=/^amp;/,domain=x.com
There’s also a filter that removes a lot of known params: https://github.com/DandelionSprout/adfilt/blob/master/LegitimateURLShortener.txt