Last active
February 10, 2024 15:14
-
-
Save albertopasqualetto/cb987b900445f14707dd3d39318e936f to your computer and use it in GitHub Desktop.
Re-enable dragging on shreddit userscript
This file contains hidden or 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 Re-enable dragging on sh.reddit | |
// @namespace albertopasqualetto | |
// @version 1.0.5 | |
// @description Re-enable dragging on sh.reddit instead of embed/share button | |
// @author albertopasqualetto | |
// @match *://sh.reddit.com/* | |
// @match *://*.reddit.com/* | |
// @exclude *://new.reddit.com/* | |
// @exclude *://old.reddit.com/* | |
// @icon https://www.redditstatic.com/desktop2x/img/favicon/android-icon-192x192.png | |
// @grant none | |
// @run-at document-idle | |
// @downloadURL https://gist.github.com/albertopasqualetto/cb987b900445f14707dd3d39318e936f/raw/re-enable%2520dragging%2520shreddit.user.js | |
// @updateURL https://gist.github.com/albertopasqualetto/cb987b900445f14707dd3d39318e936f/raw/re-enable%2520dragging%2520shreddit.user.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.querySelectorAll('embed-snippet-share-button').forEach((elem) => elem.remove()) | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment