Skip to content

Instantly share code, notes, and snippets.

@vsubhash
vsubhash / com.vsubhash.js.YoutubeLite.user.js
Created Jul 7, 2020
Loads a lite version of Youtube and adds RSS, links to video pages, and downloads for video and subtitles. (Youtube stopped support for old versions of Firefox.) This script supersedes that of Youtube Annoyance Remover.
View com.vsubhash.js.YoutubeLite.user.js
// ==UserScript==
// @name YoutubeLite
// @namespace com.vsubhash.js.YoutubeLite
// @description Loads a lite version of Youtube, adds video file downloads and subtitle links
// @include https://www.youtube.com/watch*
// @version 2020.07.07
// @grant none
// ==/UserScript==
@vsubhash
vsubhash / com.vsubhash.bash.create_thumbnail_gallery_for_video.txt
Last active Jun 2, 2020
This BASH script uses FFMPEG to create thumbnails from a video. The thumbnails are then stitched together as a gallery using ImageMagick.
View com.vsubhash.bash.create_thumbnail_gallery_for_video.txt
@vsubhash
vsubhash / com.vsubhash.js.youtube-annoyances-remover.user.js
Last active Jan 24, 2020
YouTubeAnnoyancesRemover - Disables ads, turns off autoload/autoplay, adds RSS link, deletes "recommended for you" videos, unhides description, displays all comments, changes profile link to videos page; changes region to US, displays video thumbnail image, and adds a link to the lighter version on Hooktube if video is not playable for codec rea…
View com.vsubhash.js.youtube-annoyances-remover.user.js
// ==UserScript==
// @name YouTubeAnnoyancesRemover
// @namespace com.vsubhash.js.youtube-annoyances-remover
// @description Disables ads, turns off autoload/autoplay, adds RSS link, deletes "recommended for you" videos, unhides description, displays all comments, changes profile link to videos page; changes region to US, displays video thumbnail image, and adds a link to the lighter version on Hooktube if video is not playable for codec reasons. Supports Firefox-based browser up to version 36. Newer versions should use a UserAgent (UA) spoofer add-on. YouTube loads a lighter version of the YouTube page for older browsers. This script will require the GreaseMonkey add-on to be executed by the Firefox browser. For embedded YouTube videos, use the script com.vsubhash.js.embedded-video-catcher.user.js.
// @include https://www.youtube.com/watch*
// @include https://www.youtube.com/channel*
// @include https://www.youtube.com/user*
// @version 2020.01
// @grant none
// ==/UserScript=
@vsubhash
vsubhash / com.vsubhash.js.embedded-video-catcher.user.js
Last active Jun 6, 2019
EmbeddedVideoCatcher - Adds a link to the video file. Supports Firefox-based browser up to version 36. Newer versions should use a UserAgent (UA) spoofer add-on. YouTube loads a lighter version of the YouTube page for older browsers. This script will require the GreaseMonkey add-on to be executed by the Firefox browser. If the video link is inac…
View com.vsubhash.js.embedded-video-catcher.user.js
// ==UserScript==
// @name EmbeddedVideoCatcher
// @namespace com.vsubhash.js.embedded-video-catcher
// @description Adds a link to the video file. Supports Firefox-based browser up to version 36. Newer versions should use a UserAgent (UA) spoofer add-on. YouTube loads a lighter version of the YouTube page for older browsers. This script will require the GreaseMonkey add-on to be executed by the Firefox browser. If the video link is inaccessible by a transparent image or other HTML element, the URL can be obtained from the browser's web console output (Tools -> Web Developers -> Console). The script also automatically pauses the video several times.
// @include http://*
// @include https://*
// @exclude https://www.youtube.com/watch*
// @exclude https://www.dailymotion.com/video*
// @version 2019.06
// @grant none
@vsubhash
vsubhash / com.vsubhash.js.autoplay-video-auto-stopper.user.js
Last active Jun 4, 2019
AutoPlayVideoAutoStopper - Pauses auto-playing videos. Excludes YouTube (has its own autostopper script com.vsubhash.js.youtube-annoyances-remover); Supports Firefox-based browser up to Version 36. Newer versions should use a UserAgent (UA) spoofer add-on. YouTube loads a lighter version of the YouTube page for older browsers. This script will r…
View com.vsubhash.js.autoplay-video-auto-stopper.user.js
// ==UserScript==
// @name AutoPlayVideoAutoStopper
// @namespace com.vsubhash.js.autoplay-video-auto-stopper
// @description Pauses auto-playing videos. Excludes YouTube (has its own autostopper script com.vsubhash.js.youtube-annoyances-remover); Supports Firefox-based browser up to Version 36. Newer versions should use a UserAgent (UA) spoofer add-on. YouTube loads a lighter version of the YouTube page for older browsers. This script will require the GreaseMonkey add-on to run the script inside a browser.
// @exclude https://www.youtube.com/*
// @version 2019.02
// @grant none
// ==/UserScript==
document.addEventListener("readystatechange", handle_DOMLoad, false);
@vsubhash
vsubhash / youtube-like-in-old-times-search.xml
Last active Apr 14, 2019
To search videos on popularity (instead of useless mainstream media shows), drop this file in the searchplugins directory of the firefox data directory to create a new YouTube search engine in the search box.
View youtube-like-in-old-times-search.xml
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>Youtube</ShortName>
<Description>Youtube Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">data:image/png;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAABILAAASCwAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8AAAD/EAAA/0AAAP9AAAD/cAAA/4AAAP+AAAD/gAAA/4AAAP+AAAD/QAAA/0AAAP8Q////AP///wD///8AAAD/YAAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA/2D///8AAAD/MAAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD/MAAA/1AAAP//AAD//wAA//8AAP//AAD//wAA//8QEP//AAD//wAA//8AAP//AAD//wAA//8AAP//AAD//wAA/2AAAP+AAAD//wAA//8AAP//AAD//wAA//8AAP//4OD//1BQ//8AAP//AAD//wAA//8AAP//AAD//wAA//8AAP+AAAD/gAAA//8AAP//AAD//wAA//8AAP//AAD/////////////wMD//yAg//8AAP//AAD//wAA//8AAP//AAD/gAAA/4AAAP//AAD//wAA//8AAP//AAD
@vsubhash
vsubhash / com.vsubhash.js.BookReaderView.js
Created Feb 3, 2019
"eBook Reader" mode for desktop Internet browsers using Greasemonkey JavaScript
View com.vsubhash.js.BookReaderView.js
// ==UserScript==
// @name BookReaderView
// @namespace com.vsubhash.js.BookReaderView
// @version 1
// @grant none
// ==/UserScript==
if (subhash_browser_js == null) {
var subhash_browser_js = {};
}
@vsubhash
vsubhash / com.vsubhash.js.youtube-profile-link-to-videos-changer.js
Last active Dec 19, 2018
Changes the profile link to the videos page
View com.vsubhash.js.youtube-profile-link-to-videos-changer.js
@vsubhash
vsubhash / com.vsubhash.js.youtube-ads-disabler
Created Sep 10, 2018
YouTube Ads Disabler (com.vsubhash.js.youtube-ads-disabler) is a User Javascript for YouTube that will automaticaly disable ads, switch off autoplay, add RSS feeds, remove "Recommended for you" video, unhide description and display latest comments.
View com.vsubhash.js.youtube-ads-disabler
// ==UserScript==
// @name YouTube Ads Disabler
// @namespace com.vsubhash.js.youtube-ads-disabler
// @description Disables ads, swithces off autoplay, adds RSS link, deletes "recommended for you" videos, unhides description, displays latest comments
// @include https://www.youtube.com/watch*
// @version 1
// @grant none
// ==/UserScript==
try {
@vsubhash
vsubhash / com.vsubhash.js.facebook-posts-deleter
Last active Sep 17, 2018
"Facebook Posts Deleter 2018" script is a User Script to automatically delete Facebook posts one by one without any user intervention. Install this script in Firefox-based browsers (Firefox, Seamonkey, IceWeasel) using the Greasemonkey add-on. Then, go to your Facebook "Activity Log". This scripts was tested in Firefox 34. If you use a much diff…
View com.vsubhash.js.facebook-posts-deleter
// ==UserScript==
// @name Facebook Posts Deleter
// @namespace com.vsubhash.js.facebook-posts-deleter
// @description Deletes all facebook posts, one by one if browser is spoofed as Firefox 34
// @include https://www.facebook.com/*allactivity
// @exclude %exclude%
// @version 2018
// @grant none
// ==/UserScript==
You can’t perform that action at this time.