Skip to content

Commit 71498ac

Browse files
authored
Apply suggestions from code review
1 parent faa248b commit 71498ac

File tree

5 files changed

+2
-5
lines changed

5 files changed

+2
-5
lines changed

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ export class BehaviorManager {
210210
}
211211

212212
async awaitPageLoad() {
213-
behaviorLog("Test");
214213
this.selectMainBehavior();
215214
if (this.mainBehavior?.awaitPageLoad) {
216215
behaviorLog("Waiting for custom page load via behavior");

src/lib/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,4 +343,4 @@ export function getState(ctx: any, msg: string, incrValue?: string) {
343343
}
344344

345345
return { state: ctx.state, msg };
346-
}
346+
}

src/site/facebook.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const Q = {
2222
isPhotoVideoPage: /^.*facebook\.com\/[^/]+\/(photos|videos)\/.+/,
2323
isPhotosPage: /^.*facebook\.com\/[^/]+\/photos\/?($|\?)/,
2424
isVideosPage: /^.*facebook\.com\/[^/]+\/videos\/?($|\?)/,
25-
2625
pageLoadWaitUntil: "//div[@role='main']"
2726
};
2827

src/site/tiktok.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const Q = {
66
profileVideoList: "//div[starts-with(@data-e2e, 'user-post-item-list')]",
77
profileVideoItem: "div[contains(@class, 'DivItemContainerV2')]",
88
backButton: "button[contains(@class, 'StyledCloseIconContainer')]",
9-
109
pageLoadWaitUntil: "//*[@role='dialog']"
1110
};
1211

src/site/youtube.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ export class YoutubeBehavior extends AutoScroll {
1313
return document.documentElement.outerHTML.indexOf("not a bot") === -1;
1414
}, "no_video_playing");
1515
}
16-
}
16+
}

0 commit comments

Comments
 (0)