obsproject / obs-browser

CEF-based OBS Studio browser plugin
GNU General Public License v2.0
769 stars 217 forks source link

Add "Copy page link" option to browser dock context menu #400

Closed WizardCM closed 1 year ago

WizardCM commented 1 year ago

Description

Adds a "Copy page link" item to the context menu for browser docks.

image

Motivation and Context

When using integrated YouTube chat, the URL changes per stream. Having an easy way to copy it is useful.

https://ideas.obsproject.com/posts/1924/add-copy-url-on-contextmenu-in-browser-dock

Additionally, the URL within a dock can change, through raids, navigation, etc. Having a way to get information about the current page can come in handy.

How Has This Been Tested?

Right click in a browser dock.

Types of changes

Checklist:

norihiro commented 1 year ago

Does the "page link" mean the current URL? At first glance, I imagine "copy link", which is available on the popup menus in the major browsers.

WizardCM commented 1 year ago

@norihiro Yes, "page link" means the current URL. I'm open to alternatives. I didn't want to use "URL" as in "Copy page URL" as it feels too technical. Maybe "Copy page address"?

Fenrirthviti commented 1 year ago

"Address" is the commonly accepted verbiage I see many major browsers using to refer to things, and feels more correct to me.

norihiro commented 1 year ago

I'd like to suggest "Copy current address"

A console web browser w3m's manual says "Show current address" to print the same information on the display.

WizardCM commented 1 year ago

Updated with "Copy current address" as the new wording.