Skip to content

Instantly share code, notes, and snippets.

@buttercookie42
buttercookie42 / bmo-user.css
Last active August 29, 2019 18:41
Bugzilla Userstyle
@-moz-document domain("bugzilla.mozilla.org") {
/* Fix visited links colours */
a[href*="show_bug.cgi"]:visited {
color: blueviolet !important;
}
#this-bug:visited {
color: var(--link-text-color) !important;
}
/* Button hover styling */
{
init: function(elevators, floors) {
const DIR_NONE = 0x0;
const DIR_UP = 0x1;
const DIR_DOWN = 0x2;
let floorCount = floors.length;
let upRequests = initArray(floorCount);
let downRequests = initArray(floorCount);
To enable the crash reporter on local builds:
export MOZ_CRASHREPORTER=1 and re-run mach config to pick up the change
adb logcat -s "GeckoMemoryMonitor"
adb shell am broadcast -a org.mozilla.gecko.FORCE_MEMORY_PRESSURE
adb shell am force-stop org.mozilla.fennec_jan
adb shell am kill org.mozilla.fennec_jan
adb shell am start -n org.mozilla.fennec_aurora/.App -a android.intent.action.VIEW --es args '-profile /sdcard/tests/tmpwuju6s.mozrunner'
function dump(a) {