Last active
December 20, 2022 03:47
-
-
Save bmcminn/b3efd9d06e64a1fb3776e21e05496652 to your computer and use it in GitHub Desktop.
Bookmarklets for fun and profit!
This file contains hidden or 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
// SILENCE!!! |
This file contains hidden or 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
// SOURCE | |
function nomorobo() { | |
const url = 'https://www.nomorobo.com/lookup/' + window.prompt('Enter phone number').replace(/[^\d]/gi, '') | |
const target = '_self' | |
const params = {} | |
window.open(url, target, params) | |
} | |
// BOOKMARKLET | |
javascript:void%20function(){const%20o=%22https://www.nomorobo.com/lookup/%22+window.prompt(%22Enter%20phone%20number%22).replace(/[^\d]/gi,%22%22),n=%22_self%22,e={};window.open(o,n,e)}(); |
This file contains hidden or 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
// SOURCE | |
function(){ | |
var media = document.querySelectorAll("audio,video"); | |
var prompt = window.prompt(t[0] ? 'speed: ' + t[0].playbackRate : 'speed: 1.0'); | |
media.forEach(function(obj){ | |
obj.playbackRate = prompt || obj.playbackRate; | |
}) | |
}(); | |
// MINIFIED | |
javascript:void function(){var t=document.querySelectorAll("audio,video");var o=window.prompt(t[0]?'speed: '+t[0].playbackRate:'speed: 1.0');t.forEach(function(a){a.playbackRate=o||a.playbackRate;})}(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment