in ,

Smile4ever / Neat-URL, Hacker News

Smile4ever / Neat-URL, Hacker News
                    

        

Neat URL cleans URLs, removing parameters such as Google Analytics’ utm parameters.

Blocked Parameters

utm_source, utm_medium, utm_term, utm_content, utm_campaign, utm_reader, utm_place, utm_userid, utm_cid, utm_name, utm_pubreferrer, utm_swu, utm_viz_id, gm_sourcem g_mid_ gmail fb_action_types, fb_ref, fb_source, action_object_map, action_type_map, action_ref_map, gs_l, pd_rd_r@amazon.*, pd_rd_w@amazon.*, pd_rd_wg@amazon.*, [email protected]@google.*, sei@google.*, gws_rd@google.*, [email protected] , [email protected] , [email protected] , [email protected] , [email protected] , [email protected] , [email protected] , [email protected] , $ / ref @ amazon. & ast, _hsenc, mkt_tok, hmb_campaign, hmb_source, hmb_medium, fbclid, spReportId, spJobID, spUserID, spMailingID, utm_mailing, utm_brand, CNDID, mbid, trk, trkCampaign, sc_channel_sc_channel_sc_channel_sc

Before:

After:

Why should I use this?

Are you tired of handing over data to Google or other companies?

Do you want to see neater URLs?

Neat URL is just what you’re looking for!

Parameter rules

A parameter is something that starts with?. You can add your own parameter in the options of Neat URL. The? is ommitted in the options, so a? ved parameter becomes “ved”. There are a few exceptions to this rule (see below)

Parameters can be global (for every domain):

utm_source

Parameters can contain @ signs (domain-specific):

[email protected]

Parameters can contain @ signs with a wildcard so every subdomain will match too:

param@*.wired.com

Parameters can contain @ signs with a wildcard at the end of a domain name (matches every domain name which begins with “google” and ends in an unknown suffix:

param@google.

Parameters can contain a wildcard at the end or before the domain sign:

utm_ utm_*@omgubuntu.co.uk

Parameters can also apply globally (first rule), except for a (wilcard) domain (second rule):

ref [email protected]

The excluded domain always takes precedence. Should you include “ref” and “! Ref”, “! Ref” will apply.

Other valid parameters – ending parameters (exceptions to the? Rule):

$ / ref@amazon.(remove everything after / ref on amazon domains – this will only apply when there are no query parameters left after removing the filtered query parameters. Exception: Amazon product pages parameters are cleaned like they contain two dollar signs) $$/ref@amazon.(remove everything after / ref on amazon domains – this will always apply, even when there are other query parameters after removing the filtered query parameters – this option is available because the user should be in control but beware that double dollar signs are dangerous, it might break the URL)

Other valid parameters – hash parameters (exceptions to the? Rule):

# xtor=RSS-8 (remove this parameter – be sure to include its value as well when you are using anchor tags) #[email protected] #? pk_campaign (normal parameters that come after a hash sign, for example this URL https://vivaldi.com/blog/teamblog/vivaldi-1- – adds-window-panel / # pk_campaign=newsletter & pk_kwd=community gets changed to https://vivaldi.com/blog/ teamblog / vivaldi-1 – – – adds- window-panel / # pk_kwd=community) #[email protected] (same as above, but domain-matched instead of global)

Invalid parameters:

param@*.google.(too many wildcards) | ved (this is some random string – not supported, it will not work) /ref@amazon.*$ (dollar sign should be at the beginning)

For addons.mozilla.org: [email protected] , [email protected] , [email protected] , [email protected] , @ fxVersion addons.mozilla.org , [email protected] , [email protected] , [email protected] , , [email protected] , [email protected]

For Tweakers.net: [email protected] , [email protected]

For Vivaldi.com: #? [email protected] , #? ([email protected]

For Twitch.tv: tt_medium, tt_content

Other parameters you can consider: hsmi, algo_expid, algo_pvid, aqs, bav, bih, biw, btsid, bvm, cn, cp, csi, dpr, dq, ech, forward, gs_gbg, gs_mss, gs_rn, iact, icid, iid, ijn, mc_cid, mc_eid, ncsp, ndsp, nid, nr_email_referer, oq, pbx, pf, pf_rd_i, pf_rd_m, pf_rd_p, pf_rd_r, pf_rd_s, pf_rd_t, pq, prmd, psi=ref , refsrc, sa, sclient, scroll , sr_share, stick, tbnid, vero_conv, vero_id, vet, ws_ab_test, yv

Neat URL is based on Lean URL .

Neat URL contains a few improvements:

  • a nice animation in the toolbar (can be changed or disabled)
  • domain-specific blocked parameters (to reach feature parity with Pure URL)
  • wildcard domain-specific blocked parameters
  • wildcard at the end of blocked parameters (general or domain-specific)   
  • Read More

    What do you think?

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    GIPHY App Key not set. Please check settings

    Improving the prognosis of health care in the USA, Hacker News

    Improving the prognosis of health care in the USA, Hacker News

    Trump report bizarrely claims net neutrality repeal raised incomes $ 50B a year, Ars Technica

    Trump report bizarrely claims net neutrality repeal raised incomes $ 50B a year, Ars Technica