I suggest you ...

Need an operation to clean all URL parameters before copying

Would be nice if there is an option to clean all URL parameters before copying

1 vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Arun SathiyaArun Sathiya shared this idea  ·   ·  Admin →
    declined  ·  AlasdairAdminAlasdair (Lead Developer, Template) responded  · 

    This should be easily achievable using existing standard variables. For example:

    {protocol}://{host}{#port}:{port}{/port}{path}{#fragment}#{fragment}{/fragment}

    For this reason, I don’t think it’s necessary to add a new operation just for this.

    Thanks again for using Template and for providing great suggestions. Please keep them coming :)

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • AlasdairAdminAlasdair (Lead Developer, Template) commented  · 

        Hi Arun,

        Sorry if I wasn't clear. All that you should need to do is add a new template with the content I mentioned previously. This can be done by following these steps:

        1. Go to the options page
        2. Click on the "Templates" tab
        3. Click the "Add" button at the bottom of the page
        4. In the popup you can enter anything for all of the fields (e.g. the title could be "URL without parameters") except for the "Content" textarea at the bottom, which should contain the following:

        {protocol}://{host}{#port}:{port}{/port}{path}{#fragment}#{fragment}{/fragment}

        Now, all that you should need to do is activate this template and you should copy the URL without the query string parameters (i.e. anything after "?").

        I hope this helps but please let me know if you're still stuck.

      Feedback and Knowledge Base