Created
February 9, 2025 20:18
-
-
Save andrewcchen/cb72564cd339f68e95890dfec4be8b54 to your computer and use it in GitHub Desktop.
Aliexpress Skip Bundle Deals
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Aliexpress Skip Bundle Deals | |
// @namespace http://tampermonkey.net/ | |
// @version 2025-02-09 | |
// @description Redirects AliExpress bundle deals page to their corresponding item pages | |
// @author You | |
// @match https://www.aliexpress.com/ssr/* | |
// @match https://www.aliexpress.com/gcp/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=aliexpress.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const productIds = new URL(document.location).searchParams.get('productIds').split(':')[0]; | |
if (productIds) { | |
const new_url = `https://www.aliexpress.com/item/${productIds}.html`; | |
location.replace(new_url); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment