Skip to content

Commit

Permalink
exclude marketplace
Browse files Browse the repository at this point in the history
  • Loading branch information
Katsute committed Jul 21, 2024
1 parent c5ba3e3 commit 15daea2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"name": "GitHub Center",
"author": "Katsute",
"description": "Center navigation on large viewports",
"version": "2.1",
"version": "2.2",
"homepage_url": "https://github.com/KatsuteDev/GitHub-Center",
"icons": {
"16": "icon16.png",
Expand Down
2 changes: 1 addition & 1 deletion src/style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Copyright (C) 2024 Katsute <https://github.com/Katsute> */

.AppHeader > div,
body:not(.project-page) .application-main:not(:has(> div > projects-v2, > div > .feed-background)),
body:not(.project-page) .application-main:not(:has(> div > projects-v2, > div > .feed-background),:has(> main > react-app[app-name="marketplace-react"])),
#repository-container-header,
#js-repo-pjax-container:not(:has(> projects-v2)),
body:not(.project-page) #repo-content-turbo-frame > div,
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const URL = "https://github.com/KatsuteDev/GitHub-Center";

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

0 comments on commit 15daea2

Please sign in to comment.