Saturday, 27 December 2014

Easy Copy 2.5 is now available

Easy Copy v2.5 is now available:


  • (New): Duplicate button allows you to duplicate a template to easily create variations of the same template.
  • (New): When copying HTML templates, you can copy the formatted text instead of HTML markup to paste it into text editors. See Formatting options for details.
  • (Fixed): You are now able to delete *all* built-in templates and create new ones. A bug prevented you from adding new ones if the list was empty.

Please support Easy Copy by Flattring it or contributung from the Mozilla Add-ons page.

Wednesday, 11 June 2014

Easy Copy 2.4.0 is now available

Easy Copy v2.4.0 is now available.


  • (New): New variable %page_text_content% that copies the entire document's content as text. Useful when using with Copy All Tabs. As requested by borisj26. 
  • (Fixed): In Options > Templates, the template text box now accepts the Tab character so you can create templates that include the Tab character. Thanks to Chinlala for raising this in the reviews.
 Please support Easy Copy by Flattring it or contributing from the Mozilla Add-ons page.

Monday, 2 June 2014

Copy the whole document as text

Easy Copy has the variable %html_source% that copies the document either as a proper HTML document or the text equivalent of that HTML, ie. with <body> and other tags.

However, there isn't an easy text equivalent to do this, ie. copy the whole document as text without the HTML formatting or tags. There is workaround to use %selection%, select the document and copy into a text-type template but you can't do that for Copy All Tabs.

So, what's the solution?

Monday, 26 May 2014

Displaying dates in the user's long/short date format in your Firefox extension

Following on from an issue with the date format in Easy Copy since Firefox 29, I've found an easy way to get the date or time in the long or short date formats from JavaScript in a Firefox extension.

Easy Copy used to use Date.toLocaleDateString() to get the long date but this method stopped working correctly in Firefox 29 and just returned the date in a default format. The changes were made to enable the ECMAScript internationalization API in Firefox.

In this post, I'll explain how to get the long date and short date formats consistently.

Tuesday, 6 May 2014

Easy Copy v2.3.1 is now available

Easy Copy v2.3.1 is now available.

The only fix in this release is an issue with the date format produced by %date% and %date_time%. Dates that should be in long format (eg. 28 April 2014) would incorrectly return in short format (eg. 28/4/2014) in Firefox 29.

Thanks to exkaliber357 for raising this issue.

Date format changed in Firefox 29 [Fixed Issue]

UPDATE: This issue is now fixed and available in Easy Copy v.2.3.1.

For all those who use the %date% or %date_time% variables, here's something to watch out for in Firefox 29.

Easy Copy normally displays dates in the long date format of the machine you're using, eg. %date% may return 28 April 2014 if your long date format is dd MMMM yyyy. This works fine up until Firefox 28.

However, the date functions got changed in Firefox 29 which means that the date is now displayed as 28/04/2014 or some other shorter date format.

Here's an update on the fix estimate and potential workarounds.

Wednesday, 30 April 2014

Easy Copy v2.3.0 is now available

Easy Copy v2.3.0 is now available.


The major feature in this release is the ability to filter tabs when choosing all tabs to copy, which will allow you to only copy tabs for a specific site.

There's more details about this feature at the Copy All Tabs documentation.

I'm hoping to implement a similar dialog when you copy all links on a page, so stay tuned for that.