Skip to content

Instantly share code, notes, and snippets.

View viller239's full-sized avatar

Anton Viller viller239

View GitHub Profile
function path(el) { return (el.parentElement ? path(el.parentElement) + ' > ': '' ) + el.tagName + (el.id ? '#' + el.id : '') + Array.from(el.classList).map(x => '.' + x).join('')};
V1
{
"AbortController": "function AbortController() { [native code] }",
"AbortController.arguments": "null",
"AbortController.caller": "null",
"AbortController.length": "0",
"AbortController.name": "AbortController",
"AbortController.name.length": "15",
"AbortController.prototype": "[object AbortController]",
"AbortController.prototype.abort": "function abort() { [native code] }",
// ==UserScript==
// @name Hide Twitch Annoyances
// @namespace http://twitch.tv
// @version 1.5
// @description hides bits/subs/promos/shop
// @author Viller
// @match *://*.twitch.tv/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Mute Twitch Ads
// @namespace http://twitch.tv
// @version 1.1
// @description mute twitch ads
// @author Viller
// @match https://*.twitch.tv/*
// @grant none
// ==/UserScript==
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
alert('works');
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<input value="paste here" />
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
body::before{content:"“";font-size:40px;}