Re: Pure URL for Palemoon
Posted: 2020-12-08, 01:02
Discussion forum for the Pale Moon web browser
https://forum.palemoon.org/
Thanks Tobin!
They're not technically different AFAIK, if you have an example of one, you can figure out what parameter is used to identify an affiliate and not filter that.Attronarch wrote: ↑2021-02-20, 10:36Ah I see; the extension is intended to clean tracking links, and not affiliate links.
Yes, they are. Affiliate links don't include user-specific arguments. Tracking links do.They're not technically different AFAIK
Here's an example of a link with affiliate identifiers for eBay's partner programme:
Code: Select all
https://www.ebay.com/?mkcid=1&mkrid=711-53200-19255-0&siteid=0&campid=5338203677&customid=&toolid=10001&mkevt=1
Code: Select all
[PureURL:]Original link: https://www.amazon.com.au/deal/d535c341/?_encoding=UTF8&showVariations=true&smid=ANEGB3WVEVKZB&pd_rd_w=GCzpP&pf_rd_p=107059b1-f077-4dc4-965a-bdd4c154a744&pf_rd_r=H0MRQ2003YNEFV7DTFXY&pd_rd_r=2355bd3e-36db-400a-ba9e-72175d6cec68&pd_rd_wg=A2LIJ&ref_=pd_gw_unk
Cleaned link:https://www.amazon.com.au/deal/d535c341/?_encoding=UTF8&showVariations=true&smid=ANEGB3WVEVKZB
[PureURL:]Original link: https://www.amazon.com.au/Fujifilm-Instax-Mini-Twin-Instant/dp/B0000C73CQ/?_encoding=UTF8&pd_rd_w=9INEN&pf_rd_p=3e050de6-3ab5-43a2-b873-0be17675f3f0&pf_rd_r=H0MRQ2003YNEFV7DTFXY&pd_rd_r=2355bd3e-36db-400a-ba9e-72175d6cec68&pd_rd_wg=A2LIJ&ref_=pd_gw_crs_zg_bs_4851799051
Cleaned link:https://www.amazon.com.au/Fujifilm-Instax-Mini-Twin-Instant/dp/B0000C73CQ/?_encoding=UTF8
The challenge for my use case with the on/off toolbar button is that it flips everything on and off.moonbat wrote: ↑2021-02-22, 02:10But if you want less toolbar and tools menu clutter, you can totally hide the UI. The options aren't meant to be constantly fiddled with anyhow. I made the toolbar button a quick on/off toggle to make it easy to troubleshoot in case it was removing parameters that are required.
That's not how it works - everything is done when a page is loaded (fix links) or a URL is fetched(intercept requests). If you want to see the unaltered page, turn it off from the toolbar button, enable logging, clear the console and reload the page. Once you've seen the links and figured out what parameters to remove, add them to the garbage fields list, re-enable filtering and reload the page. Now you can see what URLs were fixed in the error console by filtering the console with the [PureURL:] prefix.Attronarch wrote: ↑2021-02-22, 14:33I don't want the links to be rewritten; I want to see if they have additional parameters or not, and I want them intercepted and purified if I click on them.
The tooltip for the button will show you at a glance what all features are on/off, as well as how many links were cleaned on the last page that was loaded.Attronarch wrote: ↑2021-02-22, 14:33True, I don't click it so often, hence why I'd like to remove it from the toolbar and be able to see at glance (in the Tools menu) if intercept is on or off.
Code: Select all
[PureURL error:] URI= https://www.google.com/gen_204?atyp=i&ei=njwSYejQONaC9u8Pi_e8kAI&dt19=2&zx=1628585120228
modified path=/gen_204?atyp=i&dt19=2&zx=1628585120228
[Exception... "Component returned failure code: 0x80004004 (NS_ERROR_ABORT) [nsIURI.path]" nsresult: "0x80004004 (NS_ERROR_ABORT)" location: "JS frame :: chrome://pureurl4pm/content/common.jsm :: observe :: line 292" data: no]
Code: Select all
[PureURL error:] URI= https://www.google.com/gen_204?atyp=i&ei=njwSYejQONaC9u8Pi_e8kAI&ct=slh&v=t1&m=HV&pv=0.5335816555422387&me=1:1628585119904,x:2,V,0,0,1920,889:0,B,1715:0,N,1,njwSYejQONaC9u8Pi_e8kAI:0,R,1,8,24,36,92,34:0,R,1,CAEQAw,252,85,106,45:0,R,1,CAEQBA,360,85,83,45:0,R,1,CAEQBQ,445,85,81,45:0,R,1,CAEQBg,528,85,92,45:0,R,1,CAEQNw,180,257,652,1209:0,R,1,CAwQAA,180,257,600,121:0,R,1,CAYQAA,180,408,600,99:0,R,1,CA8QAA,180,537,600,99:0,R,1,CA4QAA,180,665,600,121:0,R,1,CAoQAA,180,816,600,99:2652,e,B&zx=1628585122560
modified path=/gen_204?atyp=i&ct=slh&v=t1&m=HV&pv=0.5335816555422387&me=1:1628585119904,x:2,V,0,0,1920,889:0,B,1715:0,N,1,njwSYejQONaC9u8Pi_e8kAI:0,R,1,8,24,36,92,34:0,R,1,CAEQAw,252,85,106,45:0,R,1,CAEQBA,360,85,83,45:0,R,1,CAEQBQ,445,85,81,45:0,R,1,CAEQBg,528,85,92,45:0,R,1,CAEQNw,180,257,652,1209:0,R,1,CAwQAA,180,257,600,121:0,R,1,CAYQAA,180,408,600,99:0,R,1,CA8QAA,180,537,600,99:0,R,1,CA4QAA,180,665,600,121:0,R,1,CAoQAA,180,816,600,99:2652,e,B&zx=1628585122560
[Exception... "Component returned failure code: 0x80004004 (NS_ERROR_ABORT) [nsIURI.path]" nsresult: "0x80004004 (NS_ERROR_ABORT)" location: "JS frame :: chrome://pureurl4pm/content/common.jsm :: observe :: line 292" data: no]
Code: Select all
https://example.com/one/two/?shared%3D1956140-913eaeca-1