I hereby claim:
- I am szupie on github.
- I am szupie (https://keybase.io/szupie) on keybase.
- I have a public key ASDgCAtSNzxGF8t93waZOcE95f_Cgy19iGv-aYkCzTfJAQo
To claim this, I am signing this object:
#!/bin/bash | |
# Script to save full-page screenshots of a list of URLs, using Firefox in headless mode | |
# Run with path to file containing list of URLs as first argument: | |
# sh ./path/to/screenshotter.sh ./path/to/urls.txt | |
# Screenshots will be saved to a folder named the specified width | |
// ==UserScript== | |
// @name Tab Focus through Google Search Results | |
// @description Use the tab key to navigate through Google and DuckDuckGo search results | |
// @version 1.1.3 | |
// @match *://*/search* | |
// @include *://*.google.*/search* | |
// @match *://*.duckduckgo.com/* | |
// @grant none | |
// @author szupie szupie@gmail.com | |
// @namespace szupie |
// Low score indicate more frecent plays | |
// This favours songs that have been played multiple times recently, so that songs you used to love do not stay at the top | |
// I find this surfaces fresher songs compared to DADA Auto-Rating | |
// Requires foo_enhanced_playcount for last.fm play history | |
// Get 10 most recent plays (truncating milliseconds) | |
$puts(len, $len(%lastfm_played_times_js%)) | |
$puts(play0, $substr(%lastfm_played_times_js%, $sub($get(len), 13, $mul(0, 15)), $sub($get(len), 4, $mul(0, 15)))) | |
$puts(play1, $substr(%lastfm_played_times_js%, $sub($get(len), 13, $mul(1, 15)), $sub($get(len), 4, $mul(1, 15)))) | |
$puts(play2, $substr(%lastfm_played_times_js%, $sub($get(len), 13, $mul(2, 15)), $sub($get(len), 4, $mul(2, 15)))) |
// ==UserScript== | |
// @name Duolingo keyboard shortcuts | |
// @description Press Shift+Space to play sentence audio (plus adds number keys support for more word bank exercises) | |
// @version 1.1.8 | |
// @match https://www.duolingo.com/* | |
// @grant none | |
// @author szupie szupie@gmail.com | |
// @namespace szupie | |
// @license Unlicense | |
// ==/UserScript== |
/*** Proton Tabs Tweaks ***/ | |
/* Modified from https://www.userchrome.org/firefox-89-styling-proton-ui.html#tabstyler | |
to previous tabs appearance with colour line over selected tab | |
*/ | |
/* Adjust tab corner shape, optionally remove space below tabs */ | |
#tabbrowser-tabs { | |
--user-tab-rounding: 0px; | |
} |
{ | |
"global": { | |
"check_for_updates_on_startup": true, | |
"show_in_menu_bar": false, | |
"show_profile_name_in_menu_bar": false | |
}, | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"parameters": { |
I hereby claim:
To claim this, I am signing this object:
function cmd_cached_copy() { | |
var url = Application.activeWindow.activeTab.document.location.href; | |
url = "http://www.google.com/search?hl=en&q=cache:" + url; | |
CmdUtils.getWindowInsecure().location = url; | |
} | |
cmd_cached_copy.description = "Searches for the cached copy of this page using Google."; | |
cmd_cached_copy.icon = "http://www.google.com/favicon.ico"; | |
cmd_cached_copy.author = {name: "szupie", email: "szupie@gmail.com"}; | |
function cmd_backward_links() { |
CmdUtils.CreateCommand({ | |
name: "google", | |
icon: "http://www.google.com/favicon.ico", | |
searchURL: "http://www.google.com/search?hl=en&q=", | |
description: "Searches Google for your words.", | |
takes: {"keywords": noun_arb_text}, | |
modifiers: {"in": noun_arb_text }, | |
execute: function(keywords, modifiers) { | |
var query = this.buildQuery(keywords,modifiers); |
CmdUtils.CreateCommand({ | |
names: ["open add-ons window", "open addons window"], | |
description: "Opens the Add-ons window", | |
icon: "chrome://mozapps/skin/xpinstall/xpinstallItemGeneric.png", | |
author: { name: "szupie", email: "szupie@gmail.com"}, | |
preview: function(pblock) { | |
pblock.innerHTML = "Opens the Add-ons window"; | |
}, | |
execute: function(object) { | |
const EMURL = "chrome://mozapps/content/extensions/extensions.xul"; |