File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ switch (location.host) {
2323 case "guidestar.org" :
2424 case "npmjs.com" :
2525 case "reddit.com" :
26+ // biome-ignore lint/suspicious/noFallthroughSwitchClause: intentional
2627 case "youtube.com" :
27- // biome-ignore lint/suspicious/noFallthroughSwitchClause: intentional
2828 target = domain ;
2929 default : {
3030 if ( / ( g g p h t | g o o g l e u s e r c o n t e n t ) .c o m $ / . test ( domain ) ) {
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ function run_it(node = document) {
126126 element . style . backgroundImage =
127127 "url(http://slippyd.com/assets/70/logo.facebook.favicon.s16.png)" ;
128128 } else if ( / h t t p : \/ \/ (?: w w w \. ) ? e n \. w i k i p e d i a \. o r g \/ / . test ( href ) ) {
129- if ( / \/ w i k i \/ ( [ ^ \ /] + ) / . test ( element . pathname ) ) {
129+ if ( / \/ w i k i \/ ( [ ^ / ] + ) / . test ( element . pathname ) ) {
130130 if ( element . textContent === href ) {
131131 element . innerHTML = "" ;
132132 }
Original file line number Diff line number Diff line change 1- export const sleep = ( ms ) => new Promise ( ( res , rej ) => setTimeout ( res , ms ) ) ;
1+ export const sleep = ( ms ) => new Promise ( ( res ) => setTimeout ( res , ms ) ) ;
22
33/**
44 *
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const doIt = async () => {
1919 * @param {Function } callback
2020 * @returns {MutationCallback }
2121 */
22- const createObserver = ( callback ) => {
22+ const createObserver = ( _callback ) => {
2323 /**
2424 *
2525 * @param {MutationRecord[] } list
You can’t perform that action at this time.
0 commit comments