From e9e650da9918a1af25c36c59249badfe3f8e0508 Mon Sep 17 00:00:00 2001 From: Federico Brigante Date: Thu, 21 Sep 2023 09:03:57 +0800 Subject: `clean-repo-header` - Let users disable it (#6941) --- source/features/clean-repo-header.tsx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 source/features/clean-repo-header.tsx (limited to 'source/features/clean-repo-header.tsx') diff --git a/source/features/clean-repo-header.tsx b/source/features/clean-repo-header.tsx new file mode 100644 index 00000000..ddb56e5d --- /dev/null +++ b/source/features/clean-repo-header.tsx @@ -0,0 +1,14 @@ +import './clean-repo-header.css'; +import * as pageDetect from 'github-url-detection'; + +import features from '../feature-manager.js'; + +void features.addCssFeature(import.meta.url, [pageDetect.isRepoRoot]); + +/* + +## Test URLs + +https://github.com/refined-github/refined-github + +*/ -- cgit v1.2.3