]> git.friedersdorff.com Git - max/saltfiles.git/blob - states/qutebrowser/files/noscript_disable
Allow switching and hiding of tabs
[max/saltfiles.git] / states / qutebrowser / files / noscript_disable
1 #!/bin/sh
2
3 SANITIZED_URL="$(echo $QUTE_URL | sed 's/[^/]*\/\/\([^@]*@\)\?\([^/]*\).*/\2\/\*/')"
4
5 echo "set -u $SANITIZED_URL content.javascript.enabled false" >> "$QUTE_FIFO"