Skip to content

Instantly share code, notes, and snippets.

@janost
Last active August 3, 2020 21:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janost/7404937417b926ceb8de0d1958f44b41 to your computer and use it in GitHub Desktop.
Save janost/7404937417b926ceb8de0d1958f44b41 to your computer and use it in GitHub Desktop.
userscript - hardverapro.hu - jegelt hirdetések kék háttérrel
// ==UserScript==
// @name hardverapro.hu - jegelt hirdetések kék háttérrel
// @namespace Violentmonkey Scripts
// @match *://hardverapro.hu/aprok/*
// @grant none
// @require http://code.jquery.com/jquery-latest.js
// @version 0.1
// @author janost
// @description 8/3/2020, 9:01:56 PM
// ==/UserScript==
'use strict';
$(document).ready(function() {
if($(".uad-list").length){
$(".uad-list li").each(function() {
var nick = $(this).find(".uad-misc").find("a").first().text();
if ($(this).find(".uad-title").find(".mt-1").length) {
$(this).css('background-color', '#e6ecff');
}
});
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment