summaryrefslogtreecommitdiff
path: root/source/features/linkify-user-location.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/linkify-user-location.tsx')
-rw-r--r--source/features/linkify-user-location.tsx11
1 files changed, 10 insertions, 1 deletions
diff --git a/source/features/linkify-user-location.tsx b/source/features/linkify-user-location.tsx
index 5b5238c4..adfda621 100644
--- a/source/features/linkify-user-location.tsx
+++ b/source/features/linkify-user-location.tsx
@@ -28,10 +28,19 @@ function addLocation({nextElementSibling, nextSibling}: SVGElement): Element {
function init(): void {
observe([
'[itemprop="homeLocation"] svg.octicon-location', // `isUserProfile`
- '[aria-label="user location"] svg.octicon-location', // Hover cards
+ '[aria-label="User location"] svg.octicon-location', // Hover cards
], addLocation);
}
void features.add(import.meta.url, {
init,
});
+
+/*
+
+Test URLs
+
+https://github.com/docubot
+https://github.com/
+
+*/