Remove User-Agent: field (except for sites that needs kludges) - dotfiles - leot's dotfiles
 (HTM) hg clone https://bitbucket.org/iamleot/dotfiles
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) changeset fd59eb732695501ebac74123369934403e9451c9
 (DIR) parent c8fc08fffa68f4c8515d62d1167a3ed863f61906
 (HTM) Author: Leonardo Taccari <iamleot@gmail.com>
       Date:   Sun, 10 Feb 2019 16:43:05 
       
       Remove User-Agent: field (except for sites that needs kludges)
       
       Twitter and YouTube seems to works like in the curl User-Agent: case, so remove
       User-Agent: override there too.
       
       Diffstat:
        config/vimb/config |  12 ++++--------
        1 files changed, 4 insertions(+), 8 deletions(-)
       ---
       diff -r c8fc08fffa68 -r fd59eb732695 config/vimb/config
       --- a/config/vimb/config        Sun Feb 03 10:39:48 2019 +0100
       +++ b/config/vimb/config        Sun Feb 10 16:43:05 2019 +0100
       @@ -16,6 +16,7 @@
        set font-size=16
        set frame-flattening=true
        set hardware-acceleration-policy=never
       +set header=User-Agent
        set home-page=about:blank
        set html5-database=false
        set html5-local-storage=false
       @@ -71,18 +72,13 @@
        
        augroup default
               au LoadStarted * set user-agent=
       +       au LoadStarted * set header=User-Agent
               au LoadStarted * set html5-local-storage=false
        augroup end
        
        augroup kludges
       -       au LoadCommitted *://mobile.twitter.com/* set user-agent=curl/7.63.0
       -       au LoadCommitted *://twitter.com/* set user-agent=curl/7.63.0
       -       au LoadCommitted *://youtu.be/* set user-agent=curl/7.63.0
       -       au LoadCommitted *://youtube.com/* set user-agent=curl/7.63.0
       -       au LoadCommitted *://www.youtube.com/* set user-agent=curl/7.63.0
       -
       -       au LoadCommitted *://ilmanifesto.it/* set user-agent=Googlebot-News
       -       au LoadCommitted *://www.haaretz.com/* set user-agent=Googlebot-News
       +       au LoadCommitted *://ilmanifesto.it/* set header=User-Agent=Googlebot-News
       +       au LoadCommitted *://www.haaretz.com/* set header=User-Agent=Googlebot-News
        
               au LoadCommitted *://ssh.cloud.google.com/* set html5-local-storage=true
               au LoadCommitted *://travis-ci.org/* set html5-local-storage=true