diff options
author | 2023-08-24 05:06:24 -0700 | |
---|---|---|
committer | 2023-08-24 19:06:24 +0700 | |
commit | ec32c7bf7030ecd797be0cb148ec982d3a035a20 (patch) | |
tree | 36c9bb0ac5709a7d1bf310a85d0ef9112ff32433 | |
parent | 31d0f773e414ab05d01f93d8ee9cc055dd75f730 (diff) | |
download | refined-github-ec32c7bf7030ecd797be0cb148ec982d3a035a20.tar.gz refined-github-ec32c7bf7030ecd797be0cb148ec982d3a035a20.tar.zst refined-github-ec32c7bf7030ecd797be0cb148ec982d3a035a20.zip |
Restore `linkify-user-location` in hover cards (#6847)23.8.24
-rw-r--r-- | source/features/linkify-user-location.tsx | 11 |
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/ + +*/ |