必須下載 Firefox 才能使用這些附加元件。

33 筆評論
  • Thanks for the feedback :)

    Regarding security concerns, the code can and should be reviewed in https://github.com/averissimo/shorten-me *(or in the actual compressed file that is downloaded from firefox add-ons)*... I understand that it could be difficult for non-coders to do it.

    The addon only has one call to an external service in this block: https://github.com/averissimo/shorten-me/blob/master/src/core.js#L92-L104

    That then is copied to clipboard by running some javascript code in the current tab with really complicated code, but -- as of the time of writing -- it was the only way to do it *(even in examples from firefox)*

    https://github.com/averissimo/shorten-me/blob/master/src/core.js#L20-L80
  • I thought it was quite compact already, what do you think should be the message?

    1) "The link was copied to clipboard"
    2) "https://goo.gl/____ was copied"
    3) "Success!"
    4) Something else?

    ps. You can edit your comment and add a reply to this question.

    pps. I think the notification is quite important because it is only triggered when the link is copied, which becomes relevant in slower or problematic connections.
  • Sorry, I can't reproduce this scenario, I've tested it by downloading v56.0.2 from: https://ftp.mozilla.org/pub/firefox/releases/56.0.2/linux-x86_64/en-GB/

    ShortenMe was also not updated so the only element in the chain that could have broke is Google API which shows 8 errors from last 2 days. I have no idea if these errors were from you and can only ask you to try again with a generic website, such as reddit.com

    note: "Firefox Addons" website and some others are designed to not work (by firefox not me), the error message of the last update to shorten me should be clear enough for you to understand if this is the situation.

    I really hope you can solve this problem.