feat(clean_url): ShopMy url
This commit is contained in:
parent
6823609786
commit
5d562cd88e
|
|
@ -39,6 +39,11 @@ const deSafelink = (urlStr) => {
|
|||
url = new URL(url.searchParams.get('a'))
|
||||
}
|
||||
|
||||
// ShopMy
|
||||
if (url.hostname === 'api.shopmy.us' && url.pathname === '/api/redirect_click') {
|
||||
url = new URL(url.searchParams.get('url'))
|
||||
}
|
||||
|
||||
// Google Ads
|
||||
if (url.hostname.endsWith('doubleclick.net') || url.hostname.endsWith('googleadservices.com')) {
|
||||
url = new URL(url.href.replaceAll('&', '&'))
|
||||
|
|
|
|||
Loading…
Reference in New Issue