summaryrefslogtreecommitdiff
path: root/source/features/open-ci-details-in-new-tab.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/open-ci-details-in-new-tab.tsx')
-rw-r--r--source/features/open-ci-details-in-new-tab.tsx20
1 files changed, 0 insertions, 20 deletions
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,
-});