[Ext] Easy Copy

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
oombii
Posts: 55
Joined: February 6th, 2012, 3:08 pm

Re: [Ext] Easy Copy

Post by oombii »

jjsjjs wrote:Yesterday (2016-05-03), I added a review named “Waterfox 46.0.1” saying: “… Easy Copy is no more functional after upgrade of my Waterfox to the version 46.0.1.” (see https://addons.mozilla.org/cs/firefox/a ... ws/794335/).

...

Easy Copy is fully functional again under Waterfox v. 46.0.1. I uninstalled AutoPager Fixed 0.8.0.10.1-signed.1-signed add-on and tried another auto paging add-on to install — namely uAutoPagerize v. 0.0.5. Now, all is alright. Both add-ons, i.e. Easy Copy and uAutoPagerize work under Waterfox v. 46.0.1.
Thank you for following up on this and nice work hunting down the issue. I would probably have asked you some of the things you did already so that worked out well :)

I'm glad you got it working again. I'm not sure why that AutoPager addon would've caused it not to display but I'm glad you found an alternative.
Please support Easy Copy by contributing on Patreon, via PayPal or with a Flattr.
heam_pro
Posts: 21
Joined: December 4th, 2013, 6:04 am

Re: [Ext] Easy Copy

Post by heam_pro »

oombii wrote:
hessam_pro wrote:%page_text_content% do the same (Firefox copy right click) almost but get whole page not selection.
if i use %selection% it dose not keep formatting of text like link or bold text
Ah, I think I see now. I take it you're using the forum's rich text editor which allows you to paste HTML and keep formatting such as bold, colours, links, etc.

In this case you can do the following:
* Set the template Type to HTML. Make sure "Format for HTML" is *unticked*.
* Use the variable %html_source% instead of %selection%, so:

Code: Select all

[img]%image_source_url%[/img]<br>
%html_source%<br>
[url=%url%]%page_title%[/url]
%html_source% copies the HTML of the current selection (or the whole page if nothing is selected).

Also, for source, you can use %page_title% to get the page's title (and not the current selection).

Alternative
Another way would be to not bother with BB code at all and copy it all as HTML so that the rich editor converts it to BB code later, eg:

Code: Select all

<img src="%image_source_url%" /><br>
%html_source%<br>
<a href="%url%">%page_title%</a>
Again, set the template type to HTML and make sure "Format for HTML" is *not checked*.

It's up to you which one you prefer. Hope this is what you were after.
thank you so much for your help.work very well now
=D>
Albert Wiersch
Posts: 6
Joined: January 7th, 2005, 3:39 pm
Location: Near Dallas, TX
Contact:

Re: [Ext] Easy Copy

Post by Albert Wiersch »

This is an excellent add-on to use with CSE HTML Validator. I've created a page recommended this add-on (https://www.htmlvalidator.com/firefoxext.php).

Unfortunately though, there doesn't seem to be a variable that will return the same HTML source as 'View Page Source' does. Could this be added? For example, in addition to the %html_source% variable, perhaps a %view_page_source% variable that returns the same source as the 'View Page Source' option?
Last edited by Albert Wiersch on July 6th, 2016, 7:23 am, edited 1 time in total.
Thank you,
Albert Wiersch
http://www.htmlvalidator.com/
Jost0123
Posts: 6
Joined: November 30th, 2015, 11:28 am

Re: [Ext] Easy Copy

Post by Jost0123 »

Reference: Add HTML Meta tags to template variable fields
oombii wrote: That's an interesting idea and something that shouldn't be too difficult to implement. It would probably look something like %meta_description%, %meta_keyword%, etc.

I'll put it on the list of ideas, but unfortunately I haven't been spending a lot of time on Easy Copy of late so it might take some time :(
It has been a while since I looked in this forum thread so I just came by to check for any new activities. Do you have any time frame estimates for when you might release a new version of Easy Copy that may include new features?
oombii
Posts: 55
Joined: February 6th, 2012, 3:08 pm

Re: [Ext] Easy Copy

Post by oombii »

Albert Wiersch wrote:This is an excellent add-on to use with CSE HTML Validator. I've created a page recommended this add-on (https://www.htmlvalidator.com/firefoxext.php).

Unfortunately though, there doesn't seem to be a variable that will return the same HTML source as 'View Page Source' does. Could this be added? For example, in addition to the %html_source% variable, perhaps a %view_page_source% variable that returns the same source as the 'View Page Source' option?
Thanks for the compliment and recommendation. I'm glad you're enjoying Easy Copy. :)

The %html_source% variable should already be able to copy the HTML source in the same way as View Page Source displays it (I assume you mean the actual text version of the HTML, eg. <html><body><p>Something</body></html>).

You should set up a new template with the following settings:
Template: %html_source%
Type: text
Format for HTML: Unchecked

The trick is setting the type to text instead of html. Using these settings, I can get the same output as View Page Source.

Hope this helps. Let me know if you're still having problems.
Please support Easy Copy by contributing on Patreon, via PayPal or with a Flattr.
oombii
Posts: 55
Joined: February 6th, 2012, 3:08 pm

Re: [Ext] Easy Copy

Post by oombii »

Jost0123 wrote:Reference: Add HTML Meta tags to template variable fields
oombii wrote: That's an interesting idea and something that shouldn't be too difficult to implement. It would probably look something like %meta_description%, %meta_keyword%, etc.

I'll put it on the list of ideas, but unfortunately I haven't been spending a lot of time on Easy Copy of late so it might take some time :(
It has been a while since I looked in this forum thread so I just came by to check for any new activities. Do you have any time frame estimates for when you might release a new version of Easy Copy that may include new features?
Unfortunately I don't have an estimate yet :( I've been so busy with other projects that I haven't had a chance to look at what's coming up for Easy Copy. I do monitor the threads though so there is that :)

The best I can say is that I'll maybe have some time coming after 3-4 weeks but I'm not even sure of that at the moment. Sorry...
Please support Easy Copy by contributing on Patreon, via PayPal or with a Flattr.
Albert Wiersch
Posts: 6
Joined: January 7th, 2005, 3:39 pm
Location: Near Dallas, TX
Contact:

Re: [Ext] Easy Copy

Post by Albert Wiersch »

oombii wrote:The %html_source% variable should already be able to copy the HTML source in the same way as View Page Source displays it (I assume you mean the actual text version of the HTML, eg. <html><body><p>Something</body></html>).

You should set up a new template with the following settings:
Template: %html_source%
Type: text
Format for HTML: Unchecked

The trick is setting the type to text instead of html. Using these settings, I can get the same output as View Page Source.

Hope this helps. Let me know if you're still having problems.
Thanks but this does not seem to work. If you go to my page here:
https://www.htmlvalidator.com/firefoxext.php

And use the standard 'View Page Source' then you'll see "<!DOCTYPE html>" as the first line, but if you use Easy Copy with the settings you recommend then you do not see that line so it doesn't look like it's returning the same source. The standard 'View Page Source' returns the source from the server without any DOM modifications that JavaScript makes... it looks like Easy Copy is serializing the DOM and not returning the source that was sent from the server.
Thank you,
Albert Wiersch
http://www.htmlvalidator.com/
oombii
Posts: 55
Joined: February 6th, 2012, 3:08 pm

Re: [Ext] Easy Copy

Post by oombii »

Albert Wiersch wrote:And use the standard 'View Page Source' then you'll see "<!DOCTYPE html>" as the first line, but if you use Easy Copy with the settings you recommend then you do not see that line so it doesn't look like it's returning the same source. The standard 'View Page Source' returns the source from the server without any DOM modifications that JavaScript makes... it looks like Easy Copy is serializing the DOM and not returning the source that was sent from the server.
Ahh, I see. Yes, you're right, it's the HTML of the page as it currently is, not the original. I don't think Easy Copy currently supports this so it will have to be a new variable.

As I've mentioned before, unfortunately I can't give a timeframe at the moment but I'll try and get this features (and one or two others requested) in as soon as I get some time free.
Please support Easy Copy by contributing on Patreon, via PayPal or with a Flattr.
Albert Wiersch
Posts: 6
Joined: January 7th, 2005, 3:39 pm
Location: Near Dallas, TX
Contact:

Re: [Ext] Easy Copy

Post by Albert Wiersch »

oombii wrote:Ahh, I see. Yes, you're right, it's the HTML of the page as it currently is, not the original. I don't think Easy Copy currently supports this so it will have to be a new variable.

As I've mentioned before, unfortunately I can't give a timeframe at the moment but I'll try and get this features (and one or two others requested) in as soon as I get some time free.
Great, thank you. Hopefully it will be a quick and easy addition to add the new variable... then users could choose which HTML source they wanted.
Thank you,
Albert Wiersch
http://www.htmlvalidator.com/
Albert Wiersch
Posts: 6
Joined: January 7th, 2005, 3:39 pm
Location: Near Dallas, TX
Contact:

Re: [Ext] Easy Copy

Post by Albert Wiersch »

oombii wrote:As I've mentioned before, unfortunately I can't give a timeframe at the moment but I'll try and get this features (and one or two others requested) in as soon as I get some time free.
Is there a way to contact you privately? Can you PM me your email address? Thanks.
Thank you,
Albert Wiersch
http://www.htmlvalidator.com/
Zeokat
Posts: 11
Joined: July 13th, 2016, 3:36 am

Re: [Ext] Easy Copy

Post by Zeokat »

Nice extension, i also noticed that it not gets the same code as view-source... but for me its ok. Sometimes Javascript change HTML adding URLs and more, its usefull have somthing different to view-source.
When tecnlogy meets dreams
Albert Wiersch
Posts: 6
Joined: January 7th, 2005, 3:39 pm
Location: Near Dallas, TX
Contact:

Re: [Ext] Easy Copy

Post by Albert Wiersch »

Maybe (a little?) off topic... but does anyone know of a similar extension like Easy Copy but for Chrome? I really like Easy Copy and would hope something very similar exists for Chrome too. Any suggestions?
Thank you,
Albert Wiersch
http://www.htmlvalidator.com/
Саша Черных
Posts: 2
Joined: September 23rd, 2016, 4:12 am

Re: [Ext] Easy Copy

Post by Саша Черных »

I'm sorry, if I can add a shortcut for the my own templates, and not only for the «Title link» and «URL»? If not, could you add this feature? Thanks.
lordbii
Posts: 2
Joined: March 13th, 2011, 8:53 am

Re: [Ext] Easy Copy

Post by lordbii »

Саша Черных wrote:I'm sorry, if I can add a shortcut for the my own templates, and not only for the «Title link» and «URL»? If not, could you add this feature? Thanks.
You can already do that with Easy Copy but you have to add an extension that can customise shortcuts:

* I use and have tested Easy Copy with Keyconfig. It's very old and not maintained anymore so I wouldn't advise you to start with this.
* Some users have reported success with Customizable Shortcuts. Seems active but doesn't have an official download page on Mozilla.
* There's also Keybinder which seems to be a copy of Customizable Shortcuts. Official download page with

It might be better to try Customizable Shortcuts first as it's a bit more maintained. If you do use it, I can't help you though, as I've only used Keyconfig but I'm sure they should work but some users have reported success with Customizable Shortcuts.

Also see Keyboard Shortcuts at the Easy Copy docs for more info.

BTW, I don't know if keyboard shortcut customisers will work from Firefox 48 onwards with Firefox's plan to go multiprocess. You'll have to find out from the extension authors if they'll support their extensions.

Hope that helps.
LL25255252
Posts: 68
Joined: July 6th, 2009, 6:01 am
Contact:

[Ext] Easy Copy & Cyberfox?

Post by LL25255252 »

Can you make it compatible with Cyberfox 51

I tested Easy Copy 2.70 on a new/fresh Cyberfox 51.

The settings window doesn't display correctly - No option at the bottom to edit the template.

Image

Easy Copy works fine for me with latest versions of Firefox, Waterfox, Comdo Icedragon and Pale Moon. Only roblem is with Cyberfox.

TIA.

Cyberfox 51.0.2 32-bit with NO CTR
Win 7 x64
Post Reply