Meneame Simple

Usar conjuntamente con https://userstyles.org/styles/144573/meneame-simple

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Advertisement:

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Advertisement:

// ==UserScript==
// @name        Meneame Simple
// @namespace   meneame.simple
// @include     https://www.meneame.net/*
// @include     https://www.meneame.net
// @run-at      document-idle
// @version     1.2
// @grant       none
// @description Usar conjuntamente con https://userstyles.org/styles/144573/meneame-simple
// ==/UserScript==
var hideh4 = [
  'etiquetas',
  'más visitadas',
  'destacadas',
  'destacadas',
  'más votadas',
  'suscripciones por RSS'
];
var selector = 'div.sidebox:has(.body.mainsites,h4:contains(' + hideh4.join('),h4:contains(') + '))';

$(document).ready(function () {
  $(selector).remove();
  $('div.sidebox-rounded.orange .body .next:not(:has(*))').remove();
  $('div.sidebox:has(h4:contains(mejores comentarios))').prependTo('#sidebar');
  $('a.comments,div.guest a, div.sidebox div.body h5 a.tooltip, #singlewrap h4 a, .news-body h3 a').not("[href$=\'/standard\']").each(function () {
    this.href = this.href + '/standard';
  });
  var combo = $('div.select-wrapper');
  if (combo.length) {
    var detail = $('.news-details-data-down');
    if (detail.length==0) detail = $('.news-details');
    $('.news-details-data-up').remove();
    detail.attr('style', 'display: block');
    var enlace = $('div.news-details-main');
    var select = combo.find('select');
    select.find('> option:first').text(enlace.find('a.comments').text());
    select.removeAttr('class')
    select.attr('style', 'width: auto; padding-right: 5px;')
    var div = $('<div style=\'line-height: 30px;float: left;\'></div>')
    select.appendTo(div);
    enlace.remove();
    div.prependTo(detail);
    combo.remove();
  }
});