Skip to content

Instantly share code, notes, and snippets.

@andrewcchen
Last active November 9, 2025 14:41
Show Gist options
  • Select an option

  • Save andrewcchen/cb72564cd339f68e95890dfec4be8b54 to your computer and use it in GitHub Desktop.

Select an option

Save andrewcchen/cb72564cd339f68e95890dfec4be8b54 to your computer and use it in GitHub Desktop.
Aliexpress Skip Bundle Deals
// ==UserScript==
// @name Aliexpress Skip Bundle Deals
// @namespace http://tampermonkey.net/
// @version 2025-11-09
// @description Redirects AliExpress bundle deals page to their corresponding item pages
// @author Andrew
// @match https://www.aliexpress.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=aliexpress.com
// @grant none
// ==/UserScript==
(function() {
'use strict';
const url = new URL(document.location);
if (!url.pathname.startsWith('/ssr/') && !url.pathname.startsWith('/gcp/')) {
return;
}
const productIds = new URL(url).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