Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ <HCExtension>
- @name Yoyutube clear cookies
- @author reges007
- @version 3
- @description clear cookies
- @rule youtube\.com/watch\?
- @rule youtube\.com/get_video_info\?
- @rule youtube\.com/(user|playlist|embed)
- @rule youtube\.com/$
- @event RequestHeaderReceived/Request
- </HCExtension>]]
- function Request()
- if hc.method == 'GET' then
- hc.request_header = re.replace(hc.request_header, [[VISITOR.*?=.*?;]], '')
- hc.monitor_string = 'clear-cookie'
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement