Marktplaats Clean and Fast

Speeds up the use of Marktplaats by removing adds and streamlining display. Combines parts from other scripts, thanks to their authors.

目前為 2015-08-21 提交的版本,檢視 最新版本

// ==UserScript==
// @name        Marktplaats Clean and Fast
// @namespace   Doesntmatter2015
// @include     http://www.marktplaats.*/*
// @grant       none
// @version     1.2
// @description Speeds up the use of Marktplaats by removing adds and streamlining display. Combines parts from other scripts, thanks to their authors.
// ==/UserScript==


// REMOVING ADDS AND DISTRACTIONS
// Adds are gettign really out of hand at Marktplaats.

// --Search results page, list tab
$('.listing-cas').remove();
$('#banner-top').remove();
$('#banner-viptop').remove();
$('#saved-searches-widget').remove();
$('#banner-rubrieks').remove();
$('#adsenceContainerTop').remove();
$('.adsense-csa').remove();

// Remove adds from Foto's tab
$("div[data-bubble-model*='Bezorgt in']" ).parent().remove();
$("#bottom-listings-divider").remove();
$(".bottom-item").remove();

// Item Detail page
$('.premium-content').remove();
$('.cas-other-items').remove();
$('.mp-adsense-header').css({'display':'none'});
$('#footer').remove();

// Home page
$('.aanbieding-widget-container').remove();
$('#banner-marketing').remove();
$('#home-footer').remove();



// USABILITY / SPEED MODIFICATIONS
// Decreasing the number of clicks and mouse movements needed.

// --Search results page, list tab

// Slightly increases the size of images on the search results list page. Also check out the "Foto's" tab.
$('.column-thumb').css({
    'float': 'left',
    'width': 'auto',
    'height': 'auto',
    'max-height': 'none'
});
$('.listing-image').css({
    'width': 'auto',
    'height': 'auto',
    'max-height': 'none'
});
$('.listing-image img').css({
    'width': 'auto',
    'height': 'auto',
    'max-height': 'none',
    'max-width': 'none',
    'margin-right': '10px'
});


// --Item detail page

// Repositions the price-tag to the top-left for quick vertical scanning. A bit hacky..
$('#vip-action-block').css({'width':'1%','background-color':'white','position':'relative','left':'-99%'});
$('#vip-gallery').css({'width':'99%','padding-top':'60px','margin-right':'0'});
$('#vip-ad-shipping-cost').css({'width':'400px'});
$('#vip-ad-shipping-cost').children('div').remove();
$('#vip-ad-price-container').css({'width':'400px'});

// Shows all pictures underneath eachother, so they quickly be scrolled past. Faster than mouse-over on small icons.
$('.image-viewer-wrapper .image img').css({
    'width': 'auto',
    'height': 'auto',
    'max-height': 'none',
    'max-width': '100%',
    'border':'none'
});
$('.image-viewer-wrapper .image').css({
    'display': 'block'
});
$('.image-viewer-wrapper .image-viewer').css({'overflow':'visible'})

$('#large-image-viewer .image img').css({
    'width': 'auto',
    'height': 'auto',
    'max-height': 'none',
    'max-width': 'none'
});
$('#vip-carousel').remove();

// Show phonenumber
$('.phone-link').css({'text-overflow':'initial'})
$('.show-phonenumber').remove();


// OTHER

// Remove ads with "Heel Nederland". Thanks to CookieFootsie
$(".cas-listing-location:contains('Heel Nederland')").parent().parent().parent().remove();
$(".cas-listing-location:contains('Bezorgt in')").parent().parent().parent().remove();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址