Skip to content

Instantly share code, notes, and snippets.

@andrewcchen
Created February 9, 2025 20:18
Show Gist options
  • Save andrewcchen/cb72564cd339f68e95890dfec4be8b54 to your computer and use it in GitHub Desktop.
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-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