Skip to content

Instantly share code, notes, and snippets.

@rwilkes
rwilkes / VkGetLink.user.js
Created June 13, 2017 09:48 — forked from mistificator/VkGetLink.user.js
Script for downloading audio and video files from the vk.com
// ==UserScript==
// @name play on tumblr
// @namespace tag:[email protected],2008-04-03:/coderepos.org
// @description play current image or video on tumblr dashboard with 'ENTER' key. open notes with 'h' key. like it with 'l' key. if won't work, pray on tumblr!
// @include http://www.tumblr.com/dashboard*
// @include http://www.tumblr.com/show/*
// @include http://www.tumblr.com/tumblelog/*
// @include http://www.tumblr.com/tagged/*
// ==/UserScript==
// ==UserScript==
// @name YouTube Enhancer
// @namespace http://iulianonofrei.com
// @version 0.5
// @author Iulian Onofrei
// @updateURL https://gist.github.com/raw/c6ca9ed14d388e6e7e8278cebc3dfb29/YouTube_Enhancer.user.js
// @match https://youtube.com/*
// @match https://www.youtube.com/*
// @require https://gist.githubusercontent.com/raw/dab432d4b4bbb672896b/min.js
// @grant GM_addStyle
// ==UserScript==
// @name Video containers
// @namespace gm.cha0s
// @description Resize video containers
// @include http://www.promptfile.com/*
// @include http://www.movshare.net/video/*
// @include http://movpod.in/*
// @include http://vodlocker.com/*
// @include http://bestreams.net/*
// @include http://www.nowvideo.sx/video/*
// ==UserScript==
// @name Tumblr Bookmarker
// @description Bookmark posts on your dash to return to later
// @namespace http://userscripts.org/users/113977
// @include http://www.tumblr.com/blog/*
// @include http://www.tumblr.com/drafts*
// @include http://www.tumblr.com/queue*
// @include http://www.tumblr.com/likes*
// @include http://www.tumblr.com/messages*
// @include http://www.tumblr.com/dashboard*
// ==UserScript==
// @name Tumblr Dashboard High-Res Photos
// @namespace http://cxx.tumblr.com/
// @include http://www.tumblr.com/*
// @version 0.0.5.2.20101020
// ==/UserScript==
// original : http://userscripts.org/scripts/source/43621.user.js?
(function(){
function $(selectors, context) {
@rwilkes
rwilkes / DownloadYTVideo.js
Created August 6, 2017 19:10 — forked from dev-ext/DownloadYTVideo.js
Youtube video downloader script
// go to the youtube video page using iPhone as user-agent and run the following script:
var xhr=new XMLHttpRequest();
xhr.open("GET",location.href,true);
xhr.onload=function(){
var r=xhr.responseText;
r=r.substring(r.indexOf('url_encoded_fmt_stream_map'),r.length);
r=r.substring(r.indexOf('url=http')+4,r.length);
r=r.split('url=');
location.href=
@rwilkes
rwilkes / bookmark-launcher.user.js
Created August 6, 2017 19:20 — forked from ajchemist/bookmark-launcher.user.js
bookmark-launcher.user.js (chrome)
// ==UserScript==
// @name Bookmark Launcher
// @description Launches bookmakrs with keyboard shortcuts
// ==/UserScript==
var bookmarkLauncherSetup = (function() {
var bookmarks = {}, url;
bookmarks['D'] = function(e,t){var n=e.document;setTimeout(function(){function a(e){if(e.data==="destroy_bookmarklet"){var r=n.getElementById(t);if(r){n.body.removeChild(r);r=null}}}var t="DELI_bookmarklet_iframe",r=n.getElementById(t);if(r){return}var i="https://delicious.com/save?source=bookmarklet&",s=n.createElement("iframe");s.id=t;s.src=i+"url="+encodeURIComponent(e.location.href)+"&title="+encodeURIComponent(n.title)+"&note="+encodeURIComponent(""+(e.getSelection?e.getSelection():n.getSelection?n.getSelection():n.selection.createRange().text))+"&v=1.1";s.style.position="fixed";s.style.top="0";s.style.left="0";s.style.height="100%";s.style.width="100%";s.style.zIndex="16777270";s.style.border="none";s.style.visibility="hidden";s.onload=function(){this.style.visibility="visible"};n.body.appendChil
@rwilkes
rwilkes / add_favicon_for_2chbbsreader.user.js
Created August 7, 2017 00:11 — forked from masaakif/add_favicon_for_2chbbsreader.user.js
add_favicon_for_2chbbsreader.user.js
// ==UserScript==
// @name Add favicon for bbs2chreader
// @namespace http://gist.github.com/43714
// @include http://127.0.0.1:8823/thread/http*
// ==/UserScript==
var AddFavicon = {
execute: function() {
var header = document.evaluate("//head/link", document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
if (header) {
// ==UserScript==
// @name 500px graber
// @namespace http://500px.com/
// @description grab photo exif info
// @include http://500px.com/*
// @copyright 2012+, You
// ==/UserScript==
// a function that loads jQuery and calls a callback function when jQuery has finished loading
function addJQuery(callback) {