Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // dodatek odejmujący wyczerpanie by Świrek Robotnik
- const button_wycz = document.createElement('button_wycz');
- button_wycz.innerHTML = 'Odbierz wyczerpanie';
- const bodyy = document.getElementsByTagName('bodyy')[0];
- bodyy.appendChild(button_wycz);
- button_wycz.addEventListener ('click', function() {
- _g(`clan&a=skills_use&name=timeTickets&opt=2`);
- });
- $('button_wycz').hover(function(){
- $(this).css("background-color", "violet");
- }, function(){
- $(this).css("background-color", "green");
- });
- $('button_wycz').css("background-color", "green");
- $('button_wycz').css('border', 'none');
- $('button_wycz').css('color', 'white');
- $('button_wycz').css('padding', '15px', '32px');
- $('button_wycz').css('text-align', 'center');
- $('button_wycz').css('text-decoration', 'none');
- $('button_wycz').css('display', 'inline-block');
- $('button_wycz').css('font-size', '16px');
- $('button_wycz').css('margin', '4px', '2px');
- $('button_wycz').css('cursor', 'pointer');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement