SHOW:
|
|
- or go back to the newest paste.
1 | acl iphone browser -i regexp (iPhone|iPad) | |
2 | acl BB browser -i regexp (BlackBerry|PlayBook) | |
3 | acl Winphone browser -i regexp (Windows.*Phone|Trident|IEMobile) | |
4 | acl Android browser -i regexp Android | |
5 | acl yt-modif url_regex -i ^https?\:\/\/www\.youtube\.com\/(watch\?v|embed|v) | |
6 | ||
7 | request_header_access User-Agent deny yt-modif !iphone !BB !Winphone !Android | |
8 | ### flash | |
9 | request_header_replace User-Agent Opera/9.80 (Windows NT 6.0) Presto/2.12.388 Version/12.14 | |
10 | ||
11 | #ecap | |
12 | #yt_quality: tiny = 144px small = 240px medium = 360px large = 480px HD720 = Hd720px | |
13 | loadable_modules /usr/local/lib/ecap_adapter_modifying.so | |
14 | ecap_enable on | |
15 | request_header_access Accept-Encoding deny yt-modif | |
16 | ecap_service modif respmod_precache uri=ecap://e-cap.org/ecap/services/sample/modifying victim="enablejsapi" replacement="dash":"0","vq":"medium","enablejsapi" | |
17 | adaptation_access modif allow yt-modif | |
18 | adaptation_access modif deny all |