Skip to content

JavaScript fixtures

The code can be run in Violentmonkey extension for Google Chrome, Firefox, Microsoft Edge.

m.piekielni.pl

js
jQuery(function($){
    $('header,footer,iframe,.ads,#footer').remove();
    $('#mobile-content,.picture').css('max-width', 'none');
    $('.pictureWrapper').css('border-bottom', '1px dashed gray');
});

sololearn.com

js
$(document).keypress(function(e) {
    if(e.which == 13) { // Enter
        $('#textView > button:visible').trigger('click');
    }
});