Eliminates all of the "useless crap" (as defined by me) on the Amazon homepage
当前为
// ==UserScript==
// @name Remove Amazon Recommendations
// @author Anonymous
// @namespace http://www.example.url/to/your-web-site/
// @description Eliminates all of the "useless crap" (as defined by me) on the Amazon homepage
// @version 0.2
// @include https://www.amazon.com/*
// @license Creative Commons Attribution License
// ==/UserScript==
var crapFrames = [ "desktop-grid-1", "desktop-grid-2", "desktop-grid-3", "gw-content-grid", "rhf-context", "desktop-ad-btf", "desktop-grid-1-D1", "desktop-grid-1-D2", "gw-desktop-herotator", "nav-swmslot" ];
for (var i=0;i<crapFrames.length;i++) {
var crapFrame = document.getElementById(crapFrames[i]);
if (crapFrame) {
crapFrame.parentNode.removeChild(crapFrame);
}
}