Skip to content

Commit

Permalink
Fixed #110: Disabled with toolbar button - cleans copied links anyway.
Browse files Browse the repository at this point in the history
  • Loading branch information
diegocr committed Jun 5, 2016
1 parent 174e627 commit df438d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ function copyLinkController30(window) {
if (nsContextMenu) {
nsContextMenu.prototype.__copyLink_Orig4CL = nsContextMenu.prototype.copyLink;
nsContextMenu.prototype.copyLink = function() {
let link = i$.getLink(window,this.linkURL);
let link = addon.enabled && i$.getLink(window,this.linkURL);
if(link) {
clipboardHelper.copyString(link, window.document);
} else {
Expand Down Expand Up @@ -394,7 +394,7 @@ function copyLinkMobile(window) {
try {
aLink = _getLinkURL.call(nwndcm,aLink);

if(aLink) {
if(addon.enabled && aLink) {
aLink = i$.getLink(window,aLink) || aLink;
}
} catch(e) {
Expand Down

1 comment on commit df438d1

@Ayorus
Copy link

@Ayorus Ayorus commented on df438d1 Nov 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello Diego

Sorry for using this way to contact you but I did no found any other. I would like to know if you are still giving support to your addons in Mozilla. Firefox released a new version and your addon "Capture and Print" is deprecated.

All the best

Please # to comment.