Skip to content

Instantly share code, notes, and snippets.

@ssig33
Created September 24, 2022 00:03
Show Gist options
  • Save ssig33/206495d1ba9103557e37e3964bf509ab to your computer and use it in GitHub Desktop.
Save ssig33/206495d1ba9103557e37e3964bf509ab to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Amazon 404 Fuck
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.amazon.co.jp/*/dp/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=amazon.co.jp
// @grant none
// ==/UserScript==
(function() {
'use strict';
const path = location.pathname.split("/").pop()
location.pathname = `/dp/${path}`;
// Your code here...
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment