Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name AMZ colors count
- // @include /^https?://www\.amazon(\.com?)?\.[a-z]{2,3}/.*$/
- // @namespace /^https?://www\.amazon(\.com?)?\.[a-z]{2,3}/.*$/
- // ==/UserScript==
- (function() {
- document.querySelector("#productTitle").innerHTML += "<strong style='display: block'>Kolory: <span style='color: #ff2b55'>" + document.querySelectorAll("#variation_color_name li").length + "</span></strong>";
- }())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement