-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfoxaholic_fixes.user.js
34 lines (30 loc) · 1.39 KB
/
foxaholic_fixes.user.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// ==UserScript==
// @name Foxaholic Fixes
// @namespace https://github.com/StaticPH
// @match https://www.foxaholic.com/*/*/*/
// @match https://www.foxaholic.com/*/*/
// @match https://www.foxaholic.com/*/
// @match https://18.foxaholic.com/*/*/*/
// @match https://18.foxaholic.com/*/*/
// @match https://18.foxaholic.com/*/
// @version 1.0
// @createdAt 6/2/2021
// @author StaticPH
// @description Fix Foxaholic's deliberate breaking of context menus, keypresses, and text selection
// @license MIT
// @updateURL https://raw.githubusercontent.com/StaticPH/Userscripts/master/foxaholic_fixes.user.js
// @downloadURL https://raw.githubusercontent.com/StaticPH/Userscripts/master/foxaholic_fixes.user.js
// @homepageURL https://github.com/StaticPH/UserScripts
// @supportURL https://github.com/StaticPH/UserScripts/issues
// @icon https://www.foxaholic.com/wp-content/uploads/2019/12/cropped-foxaholic-logo-192x192.png
// @grant none
// @run-at
// ==/UserScript==
(function(){
"use strict";
document.body.removeAttribute('oncontextmenu');
document.body.removeAttribute('onselectstart');
document.body.removeAttribute('onkeydown');
// Just some cleanup
document.querySelectorAll('.foxaholic-publift-desk_footer_sticky, [data-fuse]').forEach(ele=>ele.remove());
})();