Skip to content

Commit 15daea2

Browse files
committed
exclude marketplace
1 parent c5ba3e3 commit 15daea2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "GitHub Center",
55
"author": "Katsute",
66
"description": "Center navigation on large viewports",
7-
"version": "2.1",
7+
"version": "2.2",
88
"homepage_url": "https://github.com/KatsuteDev/GitHub-Center",
99
"icons": {
1010
"16": "icon16.png",

src/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* Copyright (C) 2024 Katsute <https://github.com/Katsute> */
22

33
.AppHeader > div,
4-
body:not(.project-page) .application-main:not(:has(> div > projects-v2, > div > .feed-background)),
4+
body:not(.project-page) .application-main:not(:has(> div > projects-v2, > div > .feed-background),:has(> main > react-app[app-name="marketplace-react"])),
55
#repository-container-header,
66
#js-repo-pjax-container:not(:has(> projects-v2)),
77
body:not(.project-page) #repo-content-turbo-frame > div,

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const URL = "https://github.com/KatsuteDev/GitHub-Center";
44

55
const selectors = [
66
// `.AppHeader > div`, // requires login
7-
`body:not(.project-page) .application-main:not(:has(> div > projects-v2, > div > .feed-background))`,
7+
`body:not(.project-page) .application-main:not(:has(> div > projects-v2, > div > .feed-background),:has(> main > react-app[app-name="marketplace-react"]))`,
88
`#repository-container-header`,
99
`#js-repo-pjax-container:not(:has(> projects-v2))`,
1010
`body:not(.project-page) #repo-content-turbo-frame > div`,

0 commit comments

Comments
 (0)