Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

How are URLs yanked? Getting a different URL then displayed in the browser URL bar #1463

Open
1 task done
SVNKoch opened this issue Oct 18, 2022 · 1 comment
Open
1 task done

Comments

@SVNKoch
Copy link

SVNKoch commented Oct 18, 2022

I'm opening this issue because:

  • I'll report a bug / question

Steps to Reproduce

  1. Go to https://status.sponsor.ajay.app/ and click the red icon in the top left, go back in the browser history.
  2. Yank the URL: would expect https://status.sponsor.ajay.app/ instead get https://sponsorblock.instatus.com/
    copied to the clipboard and was wondering why this is

When yanking the URL after opening the link directly I get the expected link https://status.sponsor.ajay.app/.
Also when yanking after visiting the page from the red icon you too get a different URL then what the Firefox displays in the URL bar.

System configuration

  • Operating system: Windows 8.1
  • Firefox version: 98 (I should update again I think xD)
  • Vim-Vixen version: 1.2.3
@ouuan
Copy link

ouuan commented Oct 30, 2022

I'm not sure what the reason is, but the page https://status.sponsor.ajay.app/ contains a single <iframe> whose src is https://sponsorblock.instatus.com.

It seems that Vim Vixen yanks the URL of the focused browsing context, so it yanks the src of the <iframe> after you click on the page.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants