Skip to content

Commit 65e7d9c

Browse files
committed
Expensify: Update framework.
1 parent 29c3d03 commit 65e7d9c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ExpensifyA11yFixes.user.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// @copyright 2019 Mozilla Corporation, Derek Riemer
77
// @license Mozilla Public License version 2.0
88
// @version 2019.1
9-
// @grant GM_log
109
// @include https://www.expensify.com/*
1110
// ==/UserScript==
1211

@@ -90,14 +89,14 @@ function applyTweaks(root, tweaks, checkRoot) {
9089
try {
9190
applyTweak(el, tweak);
9291
} catch (e) {
93-
GM_log("Exception while applying tweak for '" + tweak.selector + "': " + e);
92+
console.log("Exception while applying tweak for '" + tweak.selector + "': " + e);
9493
}
9594
}
9695
if (checkRoot && root.matches(tweak.selector)) {
9796
try {
9897
applyTweak(root, tweak);
9998
} catch (e) {
100-
GM_log("Exception while applying tweak for '" + tweak.selector + "': " + e);
99+
console.log("Exception while applying tweak for '" + tweak.selector + "': " + e);
101100
}
102101
}
103102
}
@@ -118,7 +117,7 @@ let observer = new MutationObserver(function(mutations) {
118117
}
119118
} catch (e) {
120119
// Catch exceptions for individual mutations so other mutations are still handled.
121-
GM_log("Exception while handling mutation: " + e);
120+
console.log("Exception while handling mutation: " + e);
122121
}
123122
}
124123
});

0 commit comments

Comments
 (0)