aStore Strip

astore

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name        aStore Strip
// @namespace   aStore Strip
// @include     http://astore.amazon.com/httpawesomenc-20/detail/*
// @version     1.1
// @require       http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js
// @grant       none
// @description:en astore
// @description astore
// ==/UserScript==


var mainsubheader = document.getElementById("mainsubheader");
mainsubheader.outerHTML = "";
delete mainsubheader;


var addToCartForm = document.getElementById("addToCartForm");
addToCartForm.outerHTML = "";
delete addToCartForm;


var detailImage = document.getElementById("detailImage");
detailImage.outerHTML = "";
delete detailImage;


var productDetails = document.getElementById("productDetails");
productDetails.outerHTML = "";
delete productDetails;


var sidebar = document.getElementById("sidebar");
sidebar.outerHTML = "";
delete sidebar;


var footer = document.getElementById("footer");
footer.outerHTML = "";
delete footer;

$("h2 br").remove();
$("h2 span").remove();
$("#detailheader p").remove();
$("#detailheader a").remove();
$("#detailheader br").remove();
$("#prices").remove();
$("#productDescription h2").remove();

jQuery.fn.stripTags = function() {
        return this.replaceWith( this.html().replace(/<\/?[^>]+>/gi, '') );
};

$("#productDescription p").stripTags();