Last active
February 26, 2021 06:18
-
-
Save ashish-r/46d6ad57ecac9daf82366f8fcfee8211 to your computer and use it in GitHub Desktop.
Access all of Quora without ever signing up!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Quora Bypass Signup | |
// @namespace http://ashish.link/ | |
// @version 2.0 | |
// @description Access all of Quora without ever signing up! | |
// @author Ashish Ranjan | |
// @match https://www.quora.com/* | |
// @grant none | |
// @license MIT | |
// ==/UserScript== | |
(function() { | |
"use strict"; | |
window.addEventListener('load', function () { | |
var _document$getElementB, _document$getElementB2, _document$getElementB3, _document$getElementB4; | |
const container = (_document$getElementB = document.getElementById('root')) === null || _document$getElementB === void 0 ? void 0 : (_document$getElementB2 = _document$getElementB.children) === null || _document$getElementB2 === void 0 ? void 0 : (_document$getElementB3 = _document$getElementB2[0]) === null || _document$getElementB3 === void 0 ? void 0 : (_document$getElementB4 = _document$getElementB3.children) === null || _document$getElementB4 === void 0 ? void 0 : _document$getElementB4[0]; | |
if ((container === null || container === void 0 ? void 0 : container.childElementCount) < 3) { | |
var _container$children$; | |
(_container$children$ = container.children[0]) === null || _container$children$ === void 0 ? void 0 : _container$children$.remove(); | |
(container.children[0] || {}).style = ''; | |
} | |
}, false); | |
})() | |
// window.addEventListener( | |
// 'load', | |
// function() { | |
// const container = document.getElementById('root')?.children?.[0]?.children?.[0]; | |
// if (container?.childElementCount < 3) { | |
// container.children[0]?.remove(); | |
// (container.children[0] || {}).style = ''; | |
// } | |
// }, | |
// false | |
// ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment