Skip to content

Instantly share code, notes, and snippets.

@zaltoprofen
Created August 29, 2018 13:30
Show Gist options
  • Save zaltoprofen/3b4c20d6643306b73d074d5bde8a11e3 to your computer and use it in GitHub Desktop.
Save zaltoprofen/3b4c20d6643306b73d074d5bde8a11e3 to your computer and use it in GitHub Desktop.
url=new URL(document.URL);q=url.searchParams.get('q');q+=' -site:docs.python.org/2 -site:docs.python.org/ja/2';url.searchParams.set('q',q);window.location=url.toString()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment