Skip to content

Instantly share code, notes, and snippets.

@hanjianwei
Created June 16, 2023 06:35
Show Gist options
  • Save hanjianwei/409d14fdb3eb14fcc8de73771c89b5ee to your computer and use it in GitHub Desktop.
Save hanjianwei/409d14fdb3eb14fcc8de73771c89b5ee to your computer and use it in GitHub Desktop.
Taobao Ghost URL
javascript: (() => {
const product_id = new URL(window.location).searchParams.get('id');
const ghosturl = 'https://h5.m.taobao.com/awp/core/detail.htm?id=' + product_id + '&fpChannel=16&ex_fpChannel=16&ali_refid=a3_430915_1007:1418530027:U:635407592199_0_3337281265:dabf06ee5d568e16095118f52126d059&ali_trackid=141_dabf06ee5d568e16095118f52126d059&spm=a21i0.mall-search.goods-fall.11&visa=1305a108050c1a44&fpChannelSig=73cd170bee8a7f2e2ffb8d9e84c573ea21d3443b&ex_fpChannelSig=73cd170bee8a7f2e2ffb8d9e84c573ea21d3443b&chInfo=ch_share__chsub_qrcode&apshareid=50CC205D-C4F4-4508-B052-640C0BE95BFE';
prompt('Copy Ghost URL:', ghosturl);
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment