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
// ==UserScript== | |
// @name BitBucket BranchName Fixer | |
// @version 0.1 | |
// @description Fix the branch name on BitBucket | |
// @author rjf89 | |
// @match https://bitbucket.org/*/pull-requests/* | |
// @grant GM_addStyle | |
// ==/UserScript== | |
(function() { |
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
// ==UserScript== | |
// @name perlmonks.org Readability Enhancements | |
// @description Readability Enhancements for perlmonks.org | |
// @author rjf89 | |
// @include http://perlmonks.org/* | |
// @include https://perlmonks.org/* | |
// @include http://*.perlmonks.org/* | |
// @include https://*.perlmonks.org/* | |
// @include http://www.perlmonks.org/* | |
// @include https://www.perlmonks.org/* |
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
// ==UserScript== | |
// @name RES Image Auto Expand | |
// @author rjf89 | |
// @namespace RESImageAutoExpand | |
// @description Automatically expands images in Reddit when using the RES plugin. | |
// @include https://reddit.com/r/* | |
// @include https://*.reddit.com/r/* | |
// @version 1.0 | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name OneClickReleases | |
// @version 0.1 | |
// @description Make the Create release button in Azure Pipelines a one-click action. | |
// @author rjf89 | |
// @match https://dev.azure.com/*/*/_release?* | |
// @match https://dev.azure.com/*/*/_releaseDefinition?* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Open In Steam | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Open In Steam adds a button to all Steam sites to open the page in Steam. | |
// @author rf5860 | |
// @match /https:\/\/.*steam.*\.com\/.*/ | |
// @match http*://steamcommunity.com/* | |
// @match http*://store.steampowered.com/* | |
// @icon https://www.google.com/s2/favicons?domain=steampowered.com |
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
# Colors seem to only work on Powershell 7 | |
Function ffh() { | |
$Columns = [int]((get-host).ui.rawui.WindowSize.Width / 3) | |
$Separator ='{::}' | |
$History = "$env:APPDATA\Mozilla\Firefox\Profiles\momll7d2.default-release\places.sqlite" | |
$TempFile = New-TemporaryFile | |
$Query = "select substr(title, 1, $Columns), url FROM moz_places where url NOT LIKE '%google%search%' order by last_visit_date desc" | |
Copy-Item $History -Destination $TempFile | |
@(sqlite3 -separator "$Separator" "$TempFile" "$Query") | | |
ForEach-Object { |
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
// ==UserScript== | |
// @name VoiceLines to Clipboard | |
// @version 0.1 | |
// @description Add a button to copy links for voicelines to the clipboard | |
// @author rjf89 | |
// @match https://*.fandom.com/wiki/*/Quotes | |
// @match https://*.fandom.com/wiki/*/Voice_lines | |
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
// @icon https://static.wikia.nocookie.net/overwatch_gamepedia/images/2/2a/PI_Overwatch_Logo_White.png/revision/latest/scale-to-width-down/100?cb=20160706121419 | |
// @grant GM_setClipboard |
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
// ==UserScript== | |
// @name Fandom Wiki Auto Expander | |
// @version 0.1 | |
// @description Auto-expand collapsible elements on fandom wiki | |
// @author rjf89 | |
// @match https://deadcells.fandom.com/wiki/* | |
// @icon https://static.wikia.nocookie.net/deadcells_gamepedia_en/images/4/4a/Site-favicon.ico/revision/latest?cb=20210601142619 | |
// ==/UserScript== | |
(function() { |
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
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
/* https://www.dedoimedo.com/computers/firefox-change-ui-tutorial.html */ | |
/* Place this file in ~/AppData/Roaming/Mozilla/Firefox/Profiles/<default profile/chrome/userChrome.css */ | |
/* Move findbar to top left */ | |
.browserContainer > findbar { | |
position: absolute; | |
top: -1px; | |
left: 0px; | |
contain: content; | |
border-radius: 0 0 var(--toolbarbutton-border-radius) var(--toolbarbutton-border-radius); |
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
# Script to try and extend the tab completion functionality in Powershell to work with partially completed directory names. | |
# E.g. `~/d/r/o` -> `C:\Users\User\dev\repo\others', `C:\U\U' -> `C:\User\User` | |
# Tries to return any existing results first, and only does partial completion if no resullts could be found | |
# Use at your own risk - this is flakey, and will probably break in a lot of cases | |
# | |
# ---------------- | |
# Path Completion | |
# ---------------- | |
function Get-CompletedPath { | |
param($pathToComplete) |