SHARE
TWEET

clear cookies youtube

reges007 Feb 25th, 2016 (edited) 579 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[ <HCExtension>
  2. @name         Yoyutube clear cookies
  3. @author       reges007
  4. @version      3
  5. @description  clear cookies
  6. @rule         youtube\.com/watch\?
  7. @rule         youtube\.com/get_video_info\?
  8. @rule         youtube\.com/(user|playlist|embed)
  9. @rule         youtube\.com/$
  10. @event        RequestHeaderReceived/Request
  11. </HCExtension>]]
  12.  
  13.  
  14. function Request()
  15.     if hc.method == 'GET' then
  16.                            hc.request_header = re.replace(hc.request_header, [[VISITOR.*?=.*?;]], '')
  17.                            hc.monitor_string = 'clear-cookie'
  18.  
  19.                    
  20.     end
  21.                        
  22.  
  23.  
  24. end
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top