Esta discussão foi arquivada. Se precisar de ajuda, por favor, coloque uma nova questão.
Disable element on website
- 12 respostas
- 0 têm este problema
- 15 visualizações
- Última resposta por Rad1o
I want to permanently and repeatedly disable part of a website that messes up the layout. I get a VEEERY long slider at the bottom when the element is present with a never ending page.
I found out using the inspector which element of the page was doing it and if I "delete the node" the website appears completely normal.
The line in blue is what I want to delete permanently. And it is gone on the second upload.
Todas as respostas (12)
Note that Firefox 56.0.2 is quite obsolete.
The screenshot show a class name (carousel__container if I see this correctly) for that DIV container, so you can search the page to see whether this class name is unique and if that is the case block by this class name. If necessary replace the domain from the domain in the URL. userContent.css =>
@-moz-document domain(ebay.com) { div.carousel__container { display:none!important; } }
- https://www.google.com/search?q="carousel__container"+ebay
You also could use the Stylus extension to apply the style if setting up a userContent.css file is too much hassle:
https://addons.mozilla.org/firefox/addon/styl-us/
Or if you run an ad blocking add-on, it may already have a feature to hide an element on the page every time you load the page.
Unfortunately the userContent.css has not done the trick of eliminating the node.
Although I have uBlock installed I am not sure how to code this the get rid of the style. I have looked at styl-us but again am not sure how to code this to stop this node.
Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?
Hi, What kind of link do you want me to post?
A link to a page that has the element(s) you want to block, so we can check this in the Inspector.
Hi, I cannot attach a txt file here, so have copied the code of the inner HTML below.
<button class="carousel__control carousel__control--prev" type="button" aria-label="Go to previous slide" aria-disabled="true"><svg class="icon icon--carousel-prev" focusable="false" aria-hidden="true"><use xlink:href="#icon-carousel-prev"></use></svg></button>- <a class="filter-link filter-link--selected pill-actions selected-pill-action" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon" aria-label="Filter Watchlist by category: All Categories, 184 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"All Categories","sid":"p3820580.m1438.l9868"}}]}">All Categories (184)- Selected</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=6030.EBAY-GB" aria-label="Filter Watchlist by category: Car Parts & Accessories, 40 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=6030.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"Car Parts & Accessories","sid":"p3820580.m1438.l9868"}}]}">Car Parts & Accessories (40)</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=10063.EBAY-GB" aria-label="Filter Watchlist by category: Motorcycle Parts, 25 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=10063.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"Motorcycle Parts","sid":"p3820580.m1438.l9868"}}]}">Motorcycle Parts (25)</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=-99.EBAY-GB" aria-label="Filter Watchlist by category: Everything else, 20 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=-99.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"Everything else","sid":"p3820580.m1438.l9868"}}]}">Everything else (20)</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=34998.EBAY-GB" aria-label="Filter Watchlist by category: Garage Equipment & Tools, 9 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=34998.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"Garage Equipment & Tools","sid":"p3820580.m1438.l9868"}}]}">Garage Equipment & Tools (9)</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=31414.EBAY-GB" aria-label="Filter Watchlist by category: Vision Care, 7 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=31414.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"Vision Care","sid":"p3820580.m1438.l9868"}}]}">Vision Care (7)</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=38635.EBAY-GB" aria-label="Filter Watchlist by category: In-Car Technology, GPS & Security, 7 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=38635.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"In-Car Technology, GPS & Security","sid":"p3820580.m1438.l9868"}}]}">In-Car Technology, GPS & Security (7)</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=69197.EBAY-GB" aria-label="Filter Watchlist by category: Heating, Cooling & Air, 6 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=69197.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"Heating, Cooling & Air","sid":"p3820580.m1438.l9868"}}]}">Heating, Cooling & Air (6)</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=183900.EBAY-GB" aria-label="Filter Watchlist by category: Fasteners & Hardware, 5 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=183900.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"Fasteners & Hardware","sid":"p3820580.m1438.l9868"}}]}">Fasteners & Hardware (5)</a>
Outer HTML
- <a class="filter-link filter-link--selected pill-actions selected-pill-action" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon" aria-label="Filter Watchlist by category: All Categories, 184 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"All Categories","sid":"p3820580.m1438.l9868"}}]}">All Categories (184)- Selected</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=6030.EBAY-GB" aria-label="Filter Watchlist by category: Car Parts & Accessories, 40 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=6030.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"Car Parts & Accessories","sid":"p3820580.m1438.l9868"}}]}">Car Parts & Accessories (40)</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=10063.EBAY-GB" aria-label="Filter Watchlist by category: Motorcycle Parts, 25 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=10063.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"Motorcycle Parts","sid":"p3820580.m1438.l9868"}}]}">Motorcycle Parts (25)</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=-99.EBAY-GB" aria-label="Filter Watchlist by category: Everything else, 20 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=-99.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"Everything else","sid":"p3820580.m1438.l9868"}}]}">Everything else (20)</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=34998.EBAY-GB" aria-label="Filter Watchlist by category: Garage Equipment & Tools, 9 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=34998.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"Garage Equipment & Tools","sid":"p3820580.m1438.l9868"}}]}">Garage Equipment & Tools (9)</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=31414.EBAY-GB" aria-label="Filter Watchlist by category: Vision Care, 7 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=31414.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"Vision Care","sid":"p3820580.m1438.l9868"}}]}">Vision Care (7)</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=38635.EBAY-GB" aria-label="Filter Watchlist by category: In-Car Technology, GPS & Security, 7 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=38635.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"In-Car Technology, GPS & Security","sid":"p3820580.m1438.l9868"}}]}">In-Car Technology, GPS & Security (7)</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=69197.EBAY-GB" aria-label="Filter Watchlist by category: Heating, Cooling & Air, 6 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=69197.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"Heating, Cooling & Air","sid":"p3820580.m1438.l9868"}}]}">Heating, Cooling & Air (6)</a>
- <a class="filter-link filter-link--unselected pill-actions" href="/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=183900.EBAY-GB" aria-label="Filter Watchlist by category: Fasteners & Hardware, 5 items" data-tracking="{"_type":"Action","URL":"/mye/myebay/summary?modules=SUMMARY_WATCHLIST&filter=listing_status:ALL&sort=ending_soon&categoryId=183900.EBAY-GB","type":"NAV","trackingList":[{"eventFamily":"MYBWL","eventAction":"ACTN","actionKind":"CLICK","flushImmediately":false,"eventProperty":{"cat":"Fasteners & Hardware","sid":"p3820580.m1438.l9868"}}]}">Fasteners & Hardware (5)</a>
This is the CSS path
html.vwlcobcv.idc0_342 body.no-touch.gh-1199 div#mainContent.mainContent.summary div.grid div.grid__group div#middle-wrapper-grid.grid__cell.grid__cell--13of16.m-page-middle.full-width div.m-river.summary div.m-river__body div#container-1-anchor.m-container.container-1 section.m-container-section div.m-container__header div.carousel.m-carousel-pills div#s0-0-33-1-m-containers[]-m-carousel-container.carousel__container.carousel__container--controls-disabled
Below is the Attribute value
s0-0-33-1-m-containers[]-m-carousel-container
Below is the link which the Ebay summary page https://www.ebay.co.uk/mye/myebay/summary