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
{ | |
"policies": { | |
"Cookies": { | |
"ExpireAtSessionEnd": true, | |
"Behavior": "reject-foreign", | |
"BehaviorPrivateBrowsing": "reject-foreign" | |
}, | |
"DisableAppUpdate": true, | |
"DisableBuiltinPDFViewer": true, | |
"DisableFirefoxStudies": true, |
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 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== | |
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
#!/bin/bash | |
# BASH script to create a 3x3 thumbnail gallery for a video | |
# Accepts the pathname of the video as argument ($1) | |
########################################################### | |
# Floating point number functions by Mitch Frazier | |
# Adapted from | |
# https://www.linuxjournal.com/content/floating-point-math-bash | |
########################################################### |
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 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 |
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
<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 |
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 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= |
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 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); |
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 BookReaderView | |
// @namespace com.vsubhash.js.BookReaderView | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
if (subhash_browser_js == null) { | |
var subhash_browser_js = {}; | |
} |
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 YouTube Profile-Link-To-Vidoes-List Changer | |
// @namespace com.vsubhash.js.youtube-profile-link-to-videos-changer | |
// @description Changes the profile link to the videos page | |
// @include https://www.youtube.com/watch* | |
// @version 2018 | |
// @grant none | |
// ==/UserScript== | |
document.addEventListener("DOMContentLoaded", startItDelayed, false); |
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
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 |
NewerOlder