From 3737704ffb3b5c793649ae4775488b58485e41bd Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Sun, 14 Feb 2021 10:22:26 +0100 Subject: [PATCH] Translated constants --- src/scripts/constants/css-selector.ts | 4 ++-- src/scripts/constants/url.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/scripts/constants/css-selector.ts b/src/scripts/constants/css-selector.ts index 4ad2318..d0c37f1 100644 --- a/src/scripts/constants/css-selector.ts +++ b/src/scripts/constants/css-selector.ts @@ -1,4 +1,4 @@ -module.exports = Object.freeze({ +export const selectors = { GT_IMAGES: "img:not([title])[data-src^=\"https://attachments.f95zone.to\"][data-url=\"\"]", GT_TAGS: "a.tagItem", GT_TITLE: "h1.p-title-value", @@ -18,4 +18,4 @@ module.exports = Object.freeze({ UD_AVATAR_PIC: "a[href=\"/account/\"] > span.avatar > img[class^=\"avatar\"]", LOGIN_MESSAGE_ERROR: "div.blockMessage.blockMessage--error.blockMessage--iconic", LU_TAGS_SCRIPT: "script:contains('latestUpdates')", -}); +}; diff --git a/src/scripts/constants/url.ts b/src/scripts/constants/url.ts index 6931f82..9d09b6f 100644 --- a/src/scripts/constants/url.ts +++ b/src/scripts/constants/url.ts @@ -1,7 +1,7 @@ -module.exports = Object.freeze({ +export const urls = { F95_BASE_URL: "https://f95zone.to", F95_SEARCH_URL: "https://f95zone.to/search/?type=post", F95_LATEST_UPDATES: "https://f95zone.to/latest", F95_LOGIN_URL: "https://f95zone.to/login/login", F95_WATCHED_THREADS: "https://f95zone.to/watched/threads", -}); +};