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
/* Open old session history file in a tab, open the web console, paste all of this, press Enter to execute. | |
If popup is blocked, allow popups then try again. */ | |
function scrub(t){t=t.replace(/&/g,'&'); t=t.replace(/>/g,'>'); t=t.replace(/</g,'<'); return t;} | |
if (window.confirm('Scrounge session URLs?')) var newwin=window.open(); | |
if (newwin){ | |
newwin.document.write('<!DOCTYPE html>\n<html><head><title>URLs Scrounged from Session History</title><meta http-equiv=\'Content-Type\' content=\'text/html; charset=UTF-8\'><style>.urllist>p{margin-left:2.25em}.urllist>p:nth-of-type(1){margin-left:0}</style></head>\n'); | |
newwin.document.write('<body><h1>URLs Scrounged from Session History</h1>\n'); | |
var out=new Array(); | |
var sess=document.body.textContent.split('"_closedWindows":['); | |
console.log(sess.length); |
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
/* | |
FOR FIREFOX 66+, USE THE FOLLOWING SCRIPT INSTEAD: | |
https://gist.github.com/jscher2000/4403507e33df0918289619edb83f8193 | |
NOTE: BEFORE RUNNING THIS SCRIPT, CHECK THIS SETTING: | |
Type or paste about:config into the address bar and press Enter | |
Click the button promising to be careful | |
In the search box type devt and pause while Firefox filters the list | |
If devtools.chrome.enabled is false, double-click it to toggle to true |
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
/* Decompression Script for the Browser Console | |
NOTE: BEFORE RUNNING THIS SCRIPT, CHECK THIS SETTING: | |
Type or paste about:config into the address bar and press Enter | |
Click the button promising to be careful | |
In the search box type devt and pause while Firefox filters the list | |
If devtools.chrome.enabled is false, double-click it to toggle to true | |
Paste this entire script into the command line at the bottom of the Browser Console (Windows: Ctrl+Shift+j) | |
Then press Enter to run the script. A file picker should promptly open. |
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 Hide Media Play Command | |
// @namespace Violentmonkey Scripts | |
// @match *://*/* | |
// @grant none | |
// ==/UserScript== | |
/* Supplements but does not replace media.autoplay.enabled = false | |
* PROBLEM: in testing on YouTube, userStart() reports "pending" and the video doesn't play, when it's the initial page load. | |
* Videos you load from thumbnails work as expected. */ |
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
/* Colored bookmark sidebar, toolbar, menu button containers */ | |
/* Standard folder */ | |
#bookmarks-view treechildren::-moz-tree-image(container), | |
#PlacesToolbarItems toolbarbutton[container="true"] .toolbarbutton-icon, | |
#PlacesToolbarItems menu[container="true"] .menu-iconic-left, | |
#BMB_bookmarksPopup menu[container="true"] .menu-iconic-icon { | |
fill: #e8bb00 !important; /* slightly muted gold */ | |
} | |
/* Live Bookmark (RSS Feed) */ | |
#bookmarks-view treechildren::-moz-tree-image(container, livemark), |
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
/* Firefox Edge v1.12.0 */ | |
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
@-moz-document url("chrome://browser/content/browser.xul"), | |
url("chrome://browser/content/bookmarks/bookmarksPanel.xul"), | |
url("chrome://browser/content/history/history-panel.xul") { | |
:root { | |
--chrome-background-color: var(--second-level-bg-color) !important; | |
--chrome-secondary-background-color: var(--top-level-bg-color) !important; |
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
/* Firefox Edge v1.12.0 */ | |
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul); | |
@-moz-document url("chrome://browser/content/browser.xul"), | |
url("chrome://browser/content/bookmarks/bookmarksPanel.xul"), | |
url("chrome://browser/content/history/history-panel.xul") { | |
:root { | |
--chrome-background-color: var(--second-level-bg-color) !important; | |
--chrome-secondary-background-color: var(--top-level-bg-color) !important; |
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
var AM = Components.utils.import("resource://gre/modules/AddonManager.jsm"); | |
AM.AddonManager.getAllAddons().then((aAddonsList) => { | |
var updatelog = []; | |
for (let addon of aAddonsList) { | |
if (addon.updateDate && !addon.hidden){ | |
var strActive = (addon.isActive) ? ' (Enabled)' : ' (Disabled)'; | |
var dt = addon.updateDate; | |
dt.setMinutes(dt.getMinutes() - dt.getTimezoneOffset()); | |
var strDateTime = dt.toISOString(); | |
strDateTime = strDateTime.substr(0, strDateTime.indexOf('T')) + ' ' + addon.updateDate.toLocaleTimeString(); |
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 Fix Gmail Message Times When Resisting Fingerprinting | |
// @author Jefferson "jscher2000" Scher | |
// @namespace JeffersonScher | |
// @version 0.1 Pre-Alpha | |
// @copyright Copyright 2018 Jefferson Scher | |
// @license BSD-3-Clause | |
// @include https://mail.google.com/mail/* | |
// @grant GM_registerMenuCommand | |
// ==/UserScript== |
OlderNewer