Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kamysheblid/79794c66487f2860af266d1064522280 to your computer and use it in GitHub Desktop.
Save kamysheblid/79794c66487f2860af266d1064522280 to your computer and use it in GitHub Desktop.
You can use this script to bypass the annoying forced quora login
// ==UserScript==
// @name Bypass Quora Login
// @version 1
// @grant none
// @include http*://www.quora.com/*
// ==/UserScript==
// To bypass quora login, just put ?share=1 at the end of the url
// This script checks if share=1 is at part of url, if not it inserts it and reloads
if ( !(window.location.href.includes('share=1')) ) {
window.location.href = document.body.baseURI.concat('?share=1')
}
// TODO: Check if there are other options by looking for ? followed by key=arg pairs in the url,
// otherwise it might error if it already exists and we add ?share=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment