platinumgod tooltip

enter something useful

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         platinumgod tooltip
// @namespace    http://porath.org/
// @version      0.1
// @description  enter something useful
// @author       You
// @match        http://platinumgod.co.uk/
// @grant        none
// ==/UserScript==

$('body').append('<div id="mousebox"><li class="textbox" id="putHtmlHere"></li></div>');

// because of the way he did his css selecting, i have to do this nonsense

$('#mousebox').css('position', 'fixed');
$('#mousebox').css('width', '300px');
$('#mousebox').css('background-color', '#222');
$('#mousebox').css('font-size', '12px');
$('#mousebox').css('color', '#eee');
$('#mousebox').css('padding', '0 10px 0 10px');

$('.item-title').css('font-size', '16px');
$('.item-title').css('text-decoration', 'underline');
$('.item-title').css('letter-spacing', '.1em');
$('.item-title').css('text-transform', 'uppercase');
$('.item-title').css('text-align', 'center');
$('.item-title').css('margin-bottom', '0');

$('.textbox').css('list-style', 'none');

$('.r-itemid').css('margin', '0');
$('.r-itemid').css('position', 'absolute');
$('.r-itemid').css('top', '0');
$('.r-itemid').css('right', '5px');
$('.r-itemid').css('font-size', '11px');

$('.pickup').css('margin', '0');
$('.pickup').css('text-align', 'center');
$('.pickup').css('color', '#9BCD35');

$('.textbox ul').css('border-top', '1px solid #fff');
$('.textbox ul').css('margin-top', '15px');
$('.textbox ul').css('padding', '15px 0 0');
$('.textbox ul').css('font-weight', '200');
$('.textbox ul').css('text-transform', 'uppercase');
$('.textbox ul').css('font-size', '12px');

$('.tags').css('display', 'none');

$('.rebirth, .afterbirthtrinkets-container').on('mouseover', '.textbox', function() {
    var newHtml = $(this).html();
    
    $('#putHtmlHere').html(newHtml);
});

$(document).on('mousemove', function () {
    var mouseboxX = event.pageX + 15;
    var mouseboxY = event.pageY + 15 - $(window).scrollTop();
    
    if (mouseboxX > $(window).width() - 315) {
        mouseboxX = mouseboxX - 340;
    }

    $('#mousebox').css('left', mouseboxX);
    $('#mousebox').css('top', mouseboxY);
});