-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New plugin: Copy portal name and links to clipboard #935
Conversation
When you press CTRL+C, this plugin copy to the clipboard the currently selected portals, with the following syntax: $portal_name $portal_intel_link $portal_gmaps_link This is very useful for operators, for sending coordinates of a portal to ground agents in a chat.
This little tweak could be joined directly in IITC in my opinion.. I decided to write a plugin to avoid messing up the core IITC code :) |
well, that would work if ctrl+c didn't copy something else at the same time from somewhere else. =) |
What do you mean? you must have the IITC browser window active and in foreground.. |
@tapionx I think I didn't explain very well: it would be fine as long as no other functions auto fire copy (if they do then need to fix the race condition for it). I could see getting some odd issues if more then one function would fire on the copy key. |
In the Trello way you copy what you hover, there is no ambiguity. (unless Il giorno mar 27 gen 2015 00:34 flamusdiu [email protected] ha
|
@lapo-luchini might work. I was just pointing out small problem with it. Either way, either direction would be helpful to operators. |
up! :) |
UP? :) |
UP !?!?!?!?!!? |
// use own namespace for plugin | ||
window.plugin.copyPortalToClipboard = function() {}; | ||
|
||
window.plugin.copyPortalToClipboard.TrelloClipboard = function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove all references to Trello.
Please also reformat to match the coding style conventions. |
…lipboard (by tapionx) iitc-project/ingress-intel-total-conversion#935 Merge commit 'refs/pull/935/head' of https://github.com/iitc-project/ingress-intel-total-conversion into new-plugins
…lipboard (by tapionx) iitc-project/ingress-intel-total-conversion#935 Merge commit 'refs/pull/935/head' of https://github.com/iitc-project/ingress-intel-total-conversion into new-plugins
so long, and thanks for all the fish! |
When you press CTRL+C, this plugin copy to the clipboard the currently
selected portals, with the following syntax:
$portal_name
$portal_intel_link
$portal_gmaps_link
This is very useful for operators, allowing them to send coordinates of a portal to ground agents in a chat.