Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Læs mere
Åben

157: Clipboard SourceURL only contains domain?

icarine

I use a note keeping app that saves copied snippets from the web with the source URL. I've noticed that Firefox has recently started stripping URLs - the SourceURL field now only contains the domain in the html format payload.

For instance if I copy a snippet from a wikipedia page in Firefox and view the HTML format information stored on the clipboard, I see:

Version:0.9 StartHTML:00000133 EndHTML:00000344 StartFragment:00000167 EndFragment:00000308 SourceURL:https://en.wikipedia.org

Cat

Previously, the source url field would contain the full URL for the page, and if I try in Edge, it still copies the full URL for instance:

Version:0.9 StartHTML:0000000150 EndHTML:0000001067 StartFragment:0000000186 EndFragment:0000001031 SourceURL:https://en.wikipedia.org/wiki/Cat

Cat


The text/x-moz-url-priv field also only contains the domain now instead of the full URL. Is there a setting or something to restore the previous behavior of storing the whole source URL to clipboard?

I use a note keeping app that saves copied snippets from the web with the source URL. I've noticed that Firefox has recently started stripping URLs - the SourceURL field now only contains the domain in the html format payload. For instance if I copy a snippet from a wikipedia page in Firefox and view the HTML format information stored on the clipboard, I see: Version:0.9 StartHTML:00000133 EndHTML:00000344 StartFragment:00000167 EndFragment:00000308 '''SourceURL:https://en.wikipedia.org''' <html><body> <!--StartFragment--><h1 id="firstHeading" class="firstHeading mw-first-heading"><span lang="en" dir="ltr"><span class="mw-page-title-main">Cat</span></span></h1><!--EndFragment--> </body> </html> Previously, the source url field would contain the full URL for the page, and if I try in Edge, it still copies the full URL for instance: Version:0.9 StartHTML:0000000150 EndHTML:0000001067 StartFragment:0000000186 EndFragment:0000001031 '''SourceURL:https://en.wikipedia.org/wiki/Cat''' <html> <body> <!--StartFragment--><h1 id="firstHeading" class="firstHeading mw-first-heading" style="color: rgb(16, 20, 24); font-weight: normal; margin: 0px; padding: 0px; display: flow-root; word-break: break-word; border: 0px; font-size: 1.8em; font-family: &quot;Linux Libertine&quot;, Georgia, Times, &quot;Source Serif 4&quot;, serif; line-height: 1.375; overflow-wrap: break-word; flex-grow: 1; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><span lang="en" dir="ltr"><span class="mw-page-title-main">Cat</span></span></h1><!--EndFragment--> </body> </html> The text/x-moz-url-priv field also only contains the domain now instead of the full URL. Is there a setting or something to restore the previous behavior of storing the whole source URL to clipboard?

Alle svar (1)

It doesn't appear to be user configurable, links to discussion timelines in support.mozilla.org/questions/1617949

Stil et spørgsmål

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.