How to get URL of currently opened webpage of Chrome application desktop shortcut

3

1

A quick google on my need "How to get URL of currently opend webpage of Chrome application shortcut" give me nothing helpful.

So what is the fastest get the URL of an Chrome application desktop shortcut? In a browser, we simply copy the address bar.

p.s.

For example, let's say we create an application shortcut for this site at URL superuser.com; then we open it, and browse to this answer. At that moment, I want to share the page, and need to copy the URL of the currently opened website in front of my eye. I don't know how to right there.

Nam G VU

Posted 2015-05-22T03:51:39.470

Reputation: 10 255

Are these app shortcuts normal .LNK files just like shortcuts you create? Also, how do you define 'quickly'? Isn't the URL quickly available from the page info? Moreover, your question is slightly vague. You say you want the URL of the shortcut, but you also say you want the URL of the currently opened page of the shortcut. So if you created a shortcut to SU's homepage and navigated here for example, the two things you mentioned would be different, right? So which is it? Be clear please. – Karan – 2015-05-22T05:49:10.563

Yes, it is a .lnk file like shortcuts. – Nam G VU – 2015-05-22T10:11:59.830

@Karan Thank you. I have updated my OP to reflect your question. – Nam G VU – 2015-05-22T10:15:08.537

Quickly is just my word when asking; maybe the fastest way to do that is what I mean. – Nam G VU – 2015-05-23T05:01:12.957

Answers

3

I'll try to answer this question. OP is asking for "Chrome Application", it can be created from Chromes menu->More tools->Create application shortcuts.

Once click this shortcut(its different from .url) it will open the URL in chrome but without address bar, menu button etc.. Here is a screenshot, desktop application and chrome side by side.

enter image description here

So locating to address bar then ctrl+c wouldn't work. The only way I found, without an extension, is to use "View Page Source"(right click or Ctrl+U), with which, you get back to the standard chrome page with an address bar, then "ctrl+L, ctrl+C" will work, just need to remove the "view-source" from the copied content.

Chris.C

Posted 2015-05-22T03:51:39.470

Reputation: 1 038

This is promising ^^. I'll try on my PC and soon back with you later. – Nam G VU – 2015-07-05T01:25:27.583

0

If anyone is looking for a solution with a chrome extension, here it is.

  1. Get a chrome extension that copies all urls of all tabs (This will work because the "Chrome Application" counts as a single tab in one window).
  2. Then go chrome://extensions/ scroll to to the bottom, click on Keyboard Shortcuts. Set the hotkey for the copy and paste of the extension. I chose Ctrl + Shift + C for copy and Ctrl + Shift + V for paste.
  3. Now when you have the "Chrome Application" open and in focus, use the hotkeys you set to copy the URL. Note that since it will be a single URL you can just use the default Ctrl + V to paste the URL

Other than that you will have to use the "view source" method that Chris.C described.

Side note, I swear in old versions of Chrome there was a Right-click on title bar, "Open in Browser" menu. Now there is just Right-click on title bar "Open Browser Window" which just opens a blank tab. Anyone else remember this? This change in behaviour is the reason I looked up this super user question in the first place.

Mr_Moneybags

Posted 2015-05-22T03:51:39.470

Reputation: 211

0

As of 2019-06-11, on Chrome Version 74.0.3729.169, you can click the ... on the top right corner, and you'll see a menu item called "Copy URL". See screenshot below.

enter image description here

Paul

Posted 2015-05-22T03:51:39.470

Reputation: 101

0

For Internet Explorer and Firefox use the F4 ; ctrl + c

For Google Chrome F6 ; ctrl + c

An universal solution would be ctrl + l ; ctrl + c (this works for every browser I know)

Or if You prefer using the mouse, You can use some addons or extensions like:

Firefox:
https://addons.mozilla.org/hu/firefox/addon/copy-with-anchor/?src=cb-dl-created

Chrome:
https://chrome.google.com/webstore/detail/copy-url-%20-title/dgagjmdgbakclelfacghmmbadkdegjjh

Another solution would be:

You can assign a macro to a key, or a specific key combination.
For example assign SHIFT + CTRL + Z (or any key combination that You do not use or being used by other programs) to do the ctrl + l ; ctrl + c for You.

Some keyboards have extra buttons for this, and it is possible with the program that you get when You buy one to add macros for them. This applies for mice as well.

If You have a standard keyboard, than You can follow these steps:

Step 1: Download the current version of IntelliType software
  1. Visit the following Microsoft Web site: http://www.microsoft.com/hardware/download/download.aspx?category=MK

  2. Select your keyboard, and make the other appropriate selections to download the latest IntelliType software.

.

Step 2: Start the Keyboard wizard, and change the assignments
  1. Open the Keyboard item in Control Panel.

    • In Windows 7 or in Windows Vista, click Start the Start button, type keyboard in the Start Search box, and then click Keyboard (or Microsoft Keyboard) in the Programs list.
    • In Windows XP and earlier versions of Windows, click Start, click Run, type Control keyboard, and then click OK.
  2. On the Key Settings tab, select the key that you want to change.

  3. To change the command or the program assignment, click Configure. To change or to assign a macro to the key, click Assign/Manage Macro.

  4. Select the appropriate options, and then follow the instructions.

More details:
https://support.microsoft.com/en-us/kb/237179/

Divin3

Posted 2015-05-22T03:51:39.470

Reputation: 1 568

F4, then Ctrl-C not work for me. Sorry. – Nam G VU – 2015-05-23T05:00:21.247

You are right, I will update the answer – Divin3 – 2015-05-23T07:02:40.057

Did you manage to solve the problem? Do You have any other question? If it is solved, please accept the solution. – Divin3 – 2015-06-03T12:59:58.453

No I don't have solution for me. – Nam G VU – 2015-06-05T02:31:04.437

what difficulties do You still have? – Divin3 – 2015-07-02T06:11:41.240

Sorry @Divin3, still looking for a simple way to just copy the URL address. – Nam G VU – 2015-07-04T12:05:28.830

@Nam G VU - so, let's say we want to copy the URL address of this post, the ctrl + L; Ctrl + V method doesn't work for You? Have You experimented with using macros? – Divin3 – 2015-07-04T12:20:27.073

Ctrl L, Ctrl V not works for me. The macro using IntelliType is a bit too much for me. Sorry :( not want to try. – Nam G VU – 2015-07-04T12:31:17.163

could You post a screenshot of the actual problem, or be a bit more detailed of what you actually want to achieve? – Divin3 – 2015-07-04T12:55:58.263

I give up with you @Divin3 So sorry ^^ – Nam G VU – 2015-07-04T13:16:04.523

Sorry to hear that. Have a nice day. – Divin3 – 2015-07-04T15:00:45.167