Skip to content

Instantly share code, notes, and snippets.

@vletoux
Created February 1, 2022 11:23
Show Gist options
  • Save vletoux/b007cd5f361f1ece89ed3a4b10cf1d29 to your computer and use it in GitHub Desktop.
Save vletoux/b007cd5f361f1ece89ed3a4b10cf1d29 to your computer and use it in GitHub Desktop.
Disable in the main page livefeed & stat in index.html (cached by default)
<Location /index.html >
SetOutputFilter Sed
OutputSed "s-<script-<SCRIPT>a=localStorage.getItem('th4.case.list');if(a!=null){b=JSON.parse(a);b.showStats=false;localStorage.setItem('th4.case.list',JSON.stringify(b))}a=localStorage.getItem('th4.app\\-layout');if(a!=null){b=JSON.parse(a);b.showFlow=false;localStorage.setItem('th4.app\\-layout',JSON.stringify(b))}</SCRIPT><script-g"
</Location>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment