diff options
-rw-r--r-- | readme.md | 1 | ||||
-rw-r--r-- | source/features/open-ci-details-in-new-tab.tsx | 20 | ||||
-rw-r--r-- | source/refined-github.ts | 1 |
3 files changed, 0 insertions, 22 deletions
@@ -267,7 +267,6 @@ Thanks for contributing! 🦋🙌 - [](# "hide-inactive-deployments") [Hides inactive deployments in PRs.](https://github.com/refined-github/refined-github/issues/1144) - [](# "previous-next-commit-buttons") [Adds duplicate commit navigation buttons at the bottom of the `Commits` tab page.](https://user-images.githubusercontent.com/24777/41755271-741773de-75a4-11e8-9181-fcc1c73df633.png) - [](# "bypass-checks") [Bypasses the "Checks" interstitial when clicking the "Details" links on a PR Checks added by third-party services like Travis.](https://user-images.githubusercontent.com/2103975/49071220-c6596e80-f22d-11e8-8a1e-bdcd62aa6ece.png) -- [](# "open-ci-details-in-new-tab") Opens the Checks "details" link in a new tab. - [](# "hidden-review-comments-indicator") [Adds comment indicators when comments are hidden in PR review.](https://user-images.githubusercontent.com/1402241/63112671-011d5580-bfbb-11e9-9e19-53e11641990e.gif) - [](# "conflict-marker") [Shows which PRs have conflicts in PR lists.](https://user-images.githubusercontent.com/9092510/62777551-2affe500-baae-11e9-8ba4-67f078347913.png) - [](# "pr-commit-lines-changed") [Adds diff stats on PR commits.](https://user-images.githubusercontent.com/16872793/76107253-48deeb00-5fa6-11ea-9931-721cde553bdf.png) diff --git a/source/features/open-ci-details-in-new-tab.tsx b/source/features/open-ci-details-in-new-tab.tsx deleted file mode 100644 index 60347355..00000000 --- a/source/features/open-ci-details-in-new-tab.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import select from 'select-dom'; -import * as pageDetect from 'github-url-detection'; - -import features from '../feature-manager'; - -function init(): void { - const CIDetailsLinks = select.all('a.status-actions'); - for (const link of CIDetailsLinks) { - link.setAttribute('target', '_blank'); - link.setAttribute('rel', 'noopener'); - } -} - -void features.add(import.meta.url, { - include: [ - pageDetect.isPR, - ], - deduplicate: 'has-rgh-inner', - init, -}); diff --git a/source/refined-github.ts b/source/refined-github.ts index 8b7a15d4..b7562cf0 100644 --- a/source/refined-github.ts +++ b/source/refined-github.ts @@ -70,7 +70,6 @@ import './features/one-click-diff-options'; import './features/ci-link'; import './features/toggle-files-button'; import './features/sync-pr-commit-title'; -import './features/open-ci-details-in-new-tab'; import './features/wait-for-checks'; import './features/hide-inactive-deployments'; import './features/pull-request-hotkeys'; |