I am trying to hide the price element from this CSS path using Greasemonkey.
html body div#__nuxt div#__layout div.lv-default-layout.-header-is-immersive main#main.lv-default-layout__content div.lv-category div.lv-paginated-list.lv-product-list ul.lv-list.lv-product-list__items li#lv-card-M46279.lv-product-list__item div.lv-product-card.-has-mini-slider.-full-bleed.-default-variant div.lv-product-card__wrap div.lv-product-card__info-wrapper div.lv-product-card__info div.lv-price.lv-product-card__price.body-xs
Based on other SO answers I wrote the following Greasemonkey script
// ==UserScript== // @name hide-LV-prices // @include https://ap.louisvuitton.com/* // @description Hides prices on Louis Vuitton page // @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js // @grant GM_addStyle // ==/UserScript== $(".lv-product-card__price.body-xs").hide() but prices are still being displayed. Original URL is https://ap.louisvuitton.com/eng-sg/bags/for-women/all-handbags/_/N-t1rrahxp. HTML example is:
<div class="lv-price lv-product-card__price body-xs"><!----> <span class="notranslate">S$ 5,500.00</span> <!----> </div>