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
/* | |
Pressing space key should pause videos, but many streaming sites fail to | |
implement that correctly, so attempt to fix it. Highly experimental. | |
Copyright 2022 Josiah Ulfers | |
This work is free. You can redistribute it and/or modify it under the | |
terms of the Do What The Fuck You Want To Public License, Version 2, | |
as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. | |
*/ | |
// ==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
/* | |
In full screen, force videos to use native browser controls. | |
Tested in Violentmonkey, fails in Greasemonkey 4 as of 4.11. | |
Unsurpisingly, this experiment causes sundy problems with various streaming | |
sites. Its use is *not* recommended. | |
Copyright 2022 Josiah Ulfers | |
This work is free. You can redistribute it and/or modify it under the |
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
<!DOCTYPE html> | |
<html><head> | |
<meta charset="utf-8"> | |
<style> | |
ol { padding-left: 0; } | |
details > summary ~ * { margin: 0 0 0 1em; } | |
p { margin: 0; } | |
p.xml-comment { color: #8c8; } |
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
// Moved to https://hg.sr.ht/~julfers/greasemonkey/browse/default/hidew3schools.user.js | |
// ==UserScript== | |
// @name Hide W3 Schools | |
// @namespace http://josiahulfers.com/hideW3schools | |
// @description Removes w3schools search results from DuckDuckGo | |
// @include https://duckduckgo.com/* | |
// @version 3 | |
// @grant none | |
// @updateURL https://hg.sr.ht/~julfers/greasemonkey/raw/default/hidew3schools.user.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
/* | |
Save the slash key | |
################## | |
Greasemonkey script to prevent sites from hijacking Firefox's slash | |
key shortcut. | |
Source: https://gist.github.com/julfers/85fdae998ad855de17d2326e1c141cac | |
Install |