no-bug: Support glane right click event register (gh-13379)

This commit is contained in:
mr. m
2026-04-23 20:00:57 +02:00
committed by GitHub
parent 5a841063f2
commit 0dd99a2ec7
2 changed files with 4 additions and 1 deletions

View File

@@ -498,7 +498,7 @@ groupbox h2 {
#category-ai-features,
#setting-control-supportFirefox,
.mission-message,
html|setting-group[data-subcategory="layout"] {
html|setting-group:is([data-subcategory="layout"], [groupid="support"]) {
display: none !important;
}

View File

@@ -50,6 +50,9 @@ export class ZenGlanceChild extends JSWindowActorChild {
#sendClickDataToParent(node, originalTarget) {
if (!node) {
node = originalTarget;
}
if (!node?.getBoundingClientRect) {
return;
}
// Get the largest element we can get. If the `A` element