diff options
Diffstat (limited to 'src/content/PlaceHolder.js')
-rw-r--r-- | src/content/PlaceHolder.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/content/PlaceHolder.js b/src/content/PlaceHolder.js index 09f6767..f32c812 100644 --- a/src/content/PlaceHolder.js +++ b/src/content/PlaceHolder.js @@ -107,6 +107,11 @@ var PlaceHolder = (() => { replacement.className = "__NoScript_PlaceHolder__"; cloneStyle(element, replacement); replacement.style.backgroundImage = `url(${ICON_URL})`; + + if (ns.embeddingDocument) { + replacement.classList.add("document"); + } + replacement.href = url; replacement.title = `${TYPE}@${url}`; |