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 Always show controls in HTML5 videos | |
// @include * | |
// ==/UserScript== | |
let observer = new MutationObserver(mutations => { | |
mutations.forEach(mutation => { | |
mutation.addedNodes.forEach(node => { | |
if (node instanceof HTMLElement && node.nodeName === 'DIV' && !document.body.contains(node)) { // Imagus places its element oustide the <body> | |
let videoElements = node.getElementsByTagName('video'); |
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 For Imagus: always show controls in videos | |
// @namespace Violentmonkey Scripts | |
// @match https://www.reddit.com/* | |
// @match https://old.reddit.com/* | |
// @match https://www.instagram.com/* | |
// @grant GM_addStyle | |
// @grant unsafeWindow | |
// @version 1.0 | |
// @require https://cdn.plyr.io/3.5.6/plyr.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
// Imports | |
const {classes: Cc, interfaces: Ci, manager: Cm, results: Cr, utils: Cu, Constructor: CC} = Components; | |
Cu.import('resource://gre/modules/AddonManager.jsm'); | |
Cu.import('resource://gre/modules/osfile.jsm'); | |
Cu.import('resource://gre/modules/Services.jsm'); | |
Cu.import('resource://gre/modules/XPCOMUtils.jsm'); | |
Cu.importGlobalProperties(['Blob', 'URL']); | |
const COMMONJS_URI = 'resource://gre/modules/commonjs'; | |
/* xiao const { require } = Cu.import(COMMONJS_URI + '/toolkit/require.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 enterSelects.uc.js | |
// @include main | |
// ==/UserScript== | |
(function () { | |
/* | |
Cu.import("resource://gre/modules/PlacesUtils.jsm", this); | |
Cu.import("resource://gre/modules/Services.jsm", this);*/ |
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
{b9db16a4-6edc-47ec-a1f4-b86292ed211d}, Video DownloadHelper █ | |
firegestures@xuldev.org, FireGestures | |
{DDC359D1-844A-42a7-9AA1-88A850A938A8}, DownThemAll! | |
privateTab@infocatcher, Private Tab █ | |
mousegesturessuite@lemon_juice.addons.mozilla.org, Mouse Gestures Suite | |
treestyletab@piro.sakura.ne.jp, Tree Style Tab | |
cliqz@cliqz.com, Cliqz | |
{AE93811A-5C9A-4d34-8462-F7B864FC4696}, StumbleUpon | |
contextsearch2@lwz.addons.mozilla.org, Context Search X | |
{EF522540-89F5-46b9-B6FE-1829E2B572C6}, SearchPreview |
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 OperaStyle_linkDragSelection.uc.js | |
// @author Griever | |
// @include main | |
// @include chrome://global/content/viewSource.xul | |
// @include chrome://global/content/viewPartialSource.xul | |
// @version 0.0.4 | |
// @note 複数選択時の手抜きを修正 | |
// @note リンクの mousedown イベントが起きない問題を修正 | |
// @note その他微修正 |