Skip to content

Conversation

niladam
Copy link

@niladam niladam commented May 21, 2019

Adds the copy functionality.

The workflow that exists in this repo, also allows for a modifier key (shift) to enable a secondary action that allows the copy of the selected (from the list) tab's URL directly to the clipboard.

This also addresses #2 :)

@niladam
Copy link
Author

niladam commented May 21, 2019

@bit2pixel - i just realised i didn't sync my fork before working on this. Basically, the only lines you'd need are in chrome.js#L189-L203 and adding the modifiers again (i'm currently using the setup like in the screenshots below)

Screenshot 2019-05-21 20 29 18

Screenshot 2019-05-21 20 29 24

Screenshot 2019-05-21 20 29 29

The copy function is pretty simple, and all i did was inspire myself from your code. Figure i'd just give a hand :)

You can clearly close this PR and just attach the copy function and the flow to the workflow yourself, -- tagging a new release maybe so that i can pull it in too ?:)

@niladam
Copy link
Author

niladam commented May 25, 2019

hi @bit2pixel - i realise you must be busy but have you had the chance to look at this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant