Item logo image for Copy-URL

Copy-URL

5.0(

8 ratings

)
ExtensionTools305 users

2 support issues

  • All
  • Questions
  • Suggestions
  • Problems

Morten Knudsen

Jan 7, 2014

Handle ports

Hi!

I would like to have the extension handle urls with ports in them. Example: www.example.com:8080/index.html

If you change the regExp to:
var myPatt = new RegExp('^[a-zA-Z]+://([^/:)]+)[:/].*$','');
Then the extension will also be able to handle:
www.example.com:8080/index.html -> www.example.com

Morten Knudsen

Oct 21, 2013

Remove the port

Could it be possible to remove the port from the copied text? http://www.testsite.com:8080 -> www.testsite.com. That would make it easier to use with nslookup.
Otherwise I think it is a nice plugin.

Best regards,
Morten Knudsen

Google apps