This file contains 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 convert_iframes_to_links | |
// @namespace https://gist.github.com/ihsoy-s/ | |
// @version 0.6 | |
// @description Removes iframe/embed tags and creates links to the content | |
// @include http://*/* | |
// @include https://*/* | |
// @match http://*/* | |
// @match https://*/* | |
// @run-at document-start |
This file contains 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
#!/usr/bin/env python3 | |
import argparse | |
import codecs | |
import http.client | |
import http.server | |
import json | |
import re | |
import sys | |
import time |
This file contains 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 Ninite download helper | |
// @author mihau | |
// @version 0.5 | |
// @description adds some crucial functionality to Ninite batch download page | |
// @include http*://www.ninite.com/* | |
// @include http*://ninite.com/* | |
// ==/UserScript== | |
function buildthedllink() { |
This file contains 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 stop (actually: pause) youtube html5 player on loading | |
// @author mihau | |
// @version 0.1 | |
// @include http*://*.youtube.com/* | |
// @include http*://youtube.com/* | |
// ==/UserScript== | |
function ytstop() { | |
setTimeout("buttoncheck()", 200); | |
} |
This file contains 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
@echo off | |
for /F "tokens=*" %%A in ('dir /b *.mp4') do call :mvkitnow %%A | |
goto :EOF | |
:mvkitnow <bookid> | |
SET ofilex=%ofile:.mp4=% | |
echo. | |
"C:\Program Files\MKVToolNix\mkvmerge.exe" --ui-language en --output "%ofilex%.mkv" --language 0:und --language 1:und ^"^(^" ^"%1^" ^"^)^" --track-order 0:0,0:1 | |
"C:\Program Files\MKVToolNix\mkvalidator.exe" %ofilex%.mkv |
This file contains 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
||rp-online.de/info/adblocker/* | |
! add this to your "my filters" list in uBlock and voila, you're done |
This file contains 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 teka artedownloader | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.arte.tv/de/videos/* | |
// @match https://www.arte.tv/fr/videos/* | |
// @grant GM_download | |
// ==/UserScript== |
This file contains 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
@echo off | |
set curl=curl -s -A "%ua%" | |
set spde=%temp%\spiegelde.tmp | |
for /f "delims=" %%x in ('getclip') do set userchoice=%%x | |
REM set /p userchoice="url: " | |
for /f "delims=" %%x in ('%curl% %userchoice% ^| .\grep.exe ""JWPlayer"" ^|.\sed.exe -f spiegelde.sed ^|jq -r "[.apiUrl,.mediaId]|join(\"/v2/media/\")"') do set jsonfl=%%x |
This file contains 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
import json | |
import os | |
import re | |
import shutil | |
import string | |
import sys | |
import tempfile | |
import urllib.request | |
import win32clipboard | |
from bs4 import BeautifulSoup |
This file contains 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
javascript: | |
var i,j=0,output=""; | |
for (var i = 0, l = document.getElementsByTagName("span").length - 1; i < l; ++i) { | |
if (i == 0 || i == 1) { | |
continue; | |
} | |
if (i % 2 == 0) { | |
j++; | |
if (j < 10) { | |
var k = j.toString(); |
OlderNewer