Skip to content

Instantly share code, notes, and snippets.

@vsubhash
vsubhash / com.vsubhash.js.youtube-downloader
Last active September 10, 2018 06:42
"Download any YouTube video from anywhere" script is a User Scrip for YouTube that will allow you to download videos as offline files from YouTube.com. This script will work best in Firefox 42. It can be installed in Firefox using the Greasemonkey add-on. In "about:config", media source streaming options should also be disabled.
// ==UserScript==
// @name YouTube Downloader JavaScript
// @namespace com.vsubhash.js.youtube-downloader
// @description Downloads YouTube videos
// @include https://www.youtube.com/*
// @version 2018
// @grant none
// ==/UserScript==
@vsubhash
vsubhash / com.vsubhash.js.facebook-posts-deleter
Last active September 17, 2018 01:24
"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…
// ==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==
@vsubhash
vsubhash / com.vsubhash.js.twitter_tweets_deleter
Last active August 18, 2024 00:02
Twitter Tweets Deleter (com.vsubhash.js.twitter_tweets_deleter) is a User Script that will automatically deletes tweets on a Twitter page, one after another. This script can be installed in Firfox browsers using the Greasemonkey add-on. WARNING: Remember to disabe this script after you have finished deleting your tweets. Otherwise, newer tweets …
// ==UserScript==
// @name Twitter Tweets Deleter
// @namespace com.vsubhash.js.twitter_tweets_deleter
// @description Deletes all tweets one-by-one
// @version 2018
// @grant none
// ==/UserScript==
document.addEventListener("DOMContentLoaded", startDeletingTweets, false);
@vsubhash
vsubhash / com.vsubhash.js.youtube-load-more-till-no-more
Last active September 10, 2018 06:39
YouTube LoadMore Till No More (com.vsubhash.js.bypass-phone-number-prompt) is a User Script for YouTube that will automatically expand the video listing pages until the last video is found. It repeatedly clicks the Load More button to ensure that all videos are automatically listed. This script can be installed in Firfox browsers using the Greas…
// ==UserScript==
// @name YouTube LoadMore Till No More
// @namespace com.vsubhash.js.youtube-load-more-till-no-more
// @description Automatically expands the videoslist
// @include /https://www\.youtube\.com/(channel|user)/(\w+)/videos*/
// @exclude %exclude%
// @version 2018
// @grant none
// ==/UserScript==
@vsubhash
vsubhash / com.vsubhash.js.youtube-rss-feed-generator
Last active September 10, 2018 06:36
YouTube RSS feed generator (com.vsubhash.js.youtube-rss-feed-generator) is a User Script for Youtube that will automatically detect the RSS feed of a channel and add an RSS icon next to the channel name. It also makes the browser aware of the RSS feed causing it to activate the RSS toolbar bar button. This script can be installed in Firfox brows…
// ==UserScript==
// @name YouTube RSS feed generator
// @namespace com.vsubhash.js.youtube-rss-feed-generator
// @description Adds a RSS feed button to YouTube channels
// @include https://www.youtube.com/watch*
// @version 2018
// @grant none
// ==/UserScript==
document.addEventListener("DOMContentLoaded", startItDelayed, false);
@vsubhash
vsubhash / com.vsubhash.js.youtube-ads-disabler
Created September 10, 2018 06:30
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.
// ==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.show-youtube-comments-newer
Created September 10, 2018 06:34
Show newer YouTube comments (com.vsubhash.js.show-youtube-comments-newer) is a User Script for YouTube that will display newer comments first instead of the default moderated "Top Comments". This script can be installed in Firfox browsers using the Greasemonkey add-on.
// ==UserScript==
// @name Show newer YouTube comments
// @namespace com.vsubhash.js.show-youtube-comments-newer
// @description Automatically changes YouTube comments filter off
// @include https://www.youtube.com/watch*
// @exclude %exclude%
// @version 2018
// @grant none
// ==/UserScript==
@vsubhash
vsubhash / com.vsubhash.bash.twitter-to-pdf.txt
Created September 14, 2018 02:05
com.vsubhash.bash.twitter-to-pdf.txt is a Unix/Linux shell script for saving all messages posted by a Twitter account as an archive in PDF format.
if [ $# -lt 2 ]; then
echo -e "The format is:\n\t\e[35m`basename $0` \e[35;1mtwitter-handle-or-hashtag number-of-tweets [nojs]\e[0m"
exit
fi
# A backup of all files will be available in this Logs directory
if [ ! -d ~/Logs ]; then
mkdir ~/Logs
fi
cd ~/Logs
@vsubhash
vsubhash / com.vsubhash.js.youtube-profile-link-to-videos-changer.js
Last active December 19, 2018 00:41
Changes the profile link to the videos page
@vsubhash
vsubhash / com.vsubhash.js.BookReaderView.js
Created February 3, 2019 01:40
"eBook Reader" mode for desktop Internet browsers using Greasemonkey JavaScript
// ==UserScript==
// @name BookReaderView
// @namespace com.vsubhash.js.BookReaderView
// @version 1
// @grant none
// ==/UserScript==
if (subhash_browser_js == null) {
var subhash_browser_js = {};
}