-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCheggBypass.user.js
More file actions
22 lines (20 loc) · 846 Bytes
/
CheggBypass.user.js
File metadata and controls
22 lines (20 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// ==UserScript==
// @name Chegg - Device Limit Bypass
// @namespace http://disarray.xyz/
// @version 0.1
// @description Removes the popup and locks that prevent you from using chegg on a non-registered device
// @author digitaldisarray
// @match https://www.chegg.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// @grant GM_addStyle
// @grant GM.getValue
// ==/UserScript==
waitForKeyElements("[id$='C-common-devicemanager-add']", removeNode);
function removeNode(jNode) {
jNode.remove();
// Enable scrolling:
$("body").removeClass("cs-dm-add");
$("html").removeClass("cs-dm-add");
}