Skip to content

Instantly share code, notes, and snippets.

@NullDev
Last active June 15, 2021 19:27
Show Gist options
  • Save NullDev/98c984bceddee6495833ba7c4b379c33 to your computer and use it in GitHub Desktop.
Save NullDev/98c984bceddee6495833ba7c4b379c33 to your computer and use it in GitHub Desktop.
pr0gramm hover link preview deaktivieren
// ==UserScript==
// @name pr0gramm hover link preview deaktivieren
// @namespace pr0
// @version 0.1
// @description deaktiviert die hover link-previews auf pr0gramm.com
// @author TheShad0w
// @match https://pr0gramm.com/*
// @icon https://pr0gramm.com/media/pr0gramm-favicon.png
// @grant none
// ==/UserScript==
"use strict";
/* eslint-disable */
(async p => {
while (!Object.prototype.hasOwnProperty.call(window, "p")) await new Promise(r => setTimeout(r, 1000));
p.View.Preview = class _ {
constructor(){ return; }
static createListeners = () => {};
static type = { item: null }
show(){ return; }
data(){ return; }
load(){ return; }
loaded(){ return; }
}
return p;
})(p || window.p);
@RundesBalli
Copy link

Danke, das war dringend notwendig. Die Vorschau nervt brutal.

@NullDev
Copy link
Author

NullDev commented Jun 15, 2021

@RundesBalli ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment