Skip to content

Instantly share code, notes, and snippets.

View x1tan's full-sized avatar

xitan x1tan

View GitHub Profile
@x1tan
x1tan / bentoremover.js
Last active July 11, 2017 10:20
Tampermonkey script to remove all appearances of articles or links to bento.de from the news portal spiegel.de
// ==UserScript==
// @name Bento Link Remover
// @namespace http://tampermonkey.net/
// @version 0.4
// @description Removes all appearances of articles or links to bento.de from the news portal spiegel.de
// @author xitan
// @match http://www.spiegel.de/
// @grant none
// @updateURL https://gist.githubusercontent.com/x1tan/00743d9e5106d642509017abe5834403/raw
// ==/UserScript==
@x1tan
x1tan / spiegelplusplus.js
Last active March 18, 2018 13:34
Spiegel++
// ==UserScript==
// @name Spiegel++
// @namespace http://tampermonkey.net/
// @version 0.9
// @description Spiegel++ is an enhancement tool for better usability while browsing spiegel.de (e.g. free spiegel plus articles, content related to bento.de removed)
// @author xitan
// @match http://www.spiegel.de/*
// @updateURL https://gist.github.com/x1tan/022723987fb86c84eb22c7d8aee9203a/raw
// ==/UserScript==

Keybase proof

I hereby claim:

  • I am x1tan on github.
  • I am xitan (https://keybase.io/xitan) on keybase.
  • I have a public key whose fingerprint is BDC4 C76D 1C82 23B3 2376 10D7 1A4E 49F5 8335 0F8B

To claim this, I am signing this object:

//this requires being able to run at kernel mode and assumes you're using MSVC
//this also uses an unnamed structure for cr0_t, which is a nonstandard extension of the C language
//data structure for cr0
typedef union _cr0_t
{
struct
{
uint64_t protection_enable : 1;