This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 758
[Source Tabs] context menu copy source url + view source #1336
Comments
@jasonLaster I will take a look at it :) |
Great! Two things:
|
Hi @jasonLaster I got patch 1 working, but for the clipboard function, I'm using the I will make a PR right now. Thank you! :) |
Cool. Yea. Let's see it!
Was wanting this feature today!
…On Thu, Dec 8, 2016 at 8:49 PM I-Chun (Arthur) Liu ***@***.***> wrote:
Hi @jasonLaster <https://github.com/jasonLaster>
I got patch 1 working, but for the clipboard function, I'm using the
copyString function from
https://dxr.mozilla.org/mozilla-central/source/devtools/shared/platform/content/clipboard.js,
which you provided in your post under the *privileges* section.
I will make a PR right now. Thank you! :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1336 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPiYro4LyNSf8pjCJ40InD93nYbzdj9ks5rGPnmgaJpZM4K-a5D>
.
|
Please check. Thank you! |
Closing this issue as we've done the copy source url feature. I'll open a new more focused issue for viewing source later. It's less important though and there's plenty of other work to go around. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Users should be able to right click on a source tab and either copy the source url to their clipboard or open the source in a new tab. Screenshots below
Patch 1: adding the context menu items
patch 2: connecting the items to panel functions
https://gist.github.com/jasonLaster/fdae80aad9c6391c98206eee7318b0cd
curl https://gist.githubusercontent.com/jasonLaster/fdae80aad9c6391c98206eee7318b0cd/raw/9f83e83e37c537c13830e7ac1aec15e0c29a64c1/foo.diff | git apply
privileges
Firefox Sources
Chrome Tab
The text was updated successfully, but these errors were encountered: