NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name Amazon India Wishlist Clear // @version 1.2 // @description Will clear the wishlist page except wishlist items // @author utsavmadaan1995 // @include https://www.amazon.in/hz/wishlist/* // @include https://www.amazon.in/gp/registry/wishlist/* // @grant none // @license MIT // @run-at document-end // @downloadURL https://openuserjs.org/install/utsavmadaan1995/Amazon_India_Wishlist_Clear.user.js // @updateURL https://openuserjs.org/install/utsavmadaan1995/Amazon_India_Wishlist_Clear.user.js // ==/UserScript== (function() { 'use strict'; var navbar = document.getElementById("navbar"); navbar.parentNode.removeChild(navbar); var rhf = document.getElementById("rhf"); rhf.parentNode.removeChild(rhf); var navFooter = document.getElementById("navFooter"); navFooter.parentNode.removeChild(navFooter); var scripts = document.getElementsByTagName("script"); for (var i = (scripts.length-1); i >= 0; i--) { scripts[i].parentNode.removeChild(scripts[i]); } })();