dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles # fast
git clone https://src.adamsgaard.dk/dotfiles.git # slow
Log | Files | Refs | README | LICENSE Back to index

surf-clean-cookies (298B)


      1 #!/bin/sh
      2 cookiefile="$HOME/.config/surf/cookies.txt"
      3 tmpfile="$(mktemp)"
      4 
      5 egrep 'jyskenetbank\.dk|jyskebank\.dk|macodirect\.de|fotoimpex\.com|skoleintra\.dk|au\.dk|overleaf\.com|microsoftonline\.com|windowsazure\.com|office365\.com' \
      6     "$cookiefile" > "$tmpfile" && mv "$tmpfile" "$cookiefile"