Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Auto Blogo Klanowe chwilowe
- // @namespace http://tampermonkey.net/
- // @version 0.2
- // @description try to take over the world!
- // @author Ktoś && Squanchy
- // @match https://*.margonem.pl/
- // @grant none
- // ==/UserScript==
- const UserAX = getCookie('user_id');
- const ChAX = getCookie('mchar_id');
- if (!localStorage.getItem(UserAX+`b_lolall`+ChAX)){
- let b_loplayerma = {
- x: -40,
- y: 120,
- }
- localStorage.setItem(UserAX+`b_lolall`+ChAX, JSON.stringify(b_loplayerma));
- };
- var hyb_lol = JSON.parse(localStorage.getItem(UserAX+`b_lolall`+ChAX));
- $('<div id="Blog_Klanik">').css({
- position: "absolute",
- left: hyb_lol.x,
- top: hyb_lol.y,
- width: 240,
- height: 101,
- borderRadius: 15,
- color: "#000",
- "text-align": "center",
- "background-color": "black",
- "border-style": "solid",
- "border-color": "silver",
- "border-width": "2px",
- 'zIndex': '901',
- }).appendTo("#centerbox2");
- $(Blog_Klanik).draggable({
- stop: () =>{
- let b_lolall = {
- x: parseInt(Blog_Klanik.style.left),
- y: parseInt(Blog_Klanik.style.top)
- }
- localStorage.setItem(UserAX+`b_lolall`+ChAX, JSON.stringify(b_lolall));
- }
- });
- Blog_Klanik.style.left = hyb_lol.x;
- Blog_Klanik.style.top = hyb_lol.y;
- Blog_Klanik.innerHTML = `<html>
- <body></br>
- <span style="display:flex; font-size: 15px; justify-content: center; color: white; font-style: italic; font-weight: 700"; >
- Blogo Klanowe by Ktoś & Squanchy:</span>
- </br>
- <select class="select" id="b_k">
- <option value="1">Upiorne wzmocnienie</option>
- <option value="2">Krwawe widmo</option>
- <option value="3">Czarcie spojrzenie</option>
- <option value="4">Krwawa aura</option>
- <option value="5">Demoniczne zniszczenie</option>
- <option value="6">Moc z zaświatów</option>
- <option value="7">Śmiertelne westchnienie</option>
- </select><br/>
- <input type="checkbox" id="_bpl">
- </div>
- </body>
- </html>`
- let BlKlSEl = document.getElementById('b_k');
- BlKlSEl.addEventListener('change', () => {
- localStorage.setItem(UserAX+'b_k'+ChAX, document.getElementById('b_k').value)
- });
- ! function _l() {
- var _va = localStorage.getItem(UserAX+'b_k'+ChAX);
- document.getElementById('b_k').value = _va;
- }();
- let b_lo = document.getElementById("_bpl");
- b_lo.addEventListener('change', ()=>{
- localStorage.setItem(UserAX+'_bpl'+ChAX, b_lo.checked)
- message("Aktywny blog: " + `${document.getElementById('_bpl').checked}`)
- });
- ! function _lo() {
- var checkedy = JSON.parse(localStorage.getItem(UserAX+'_bpl'+ChAX));
- document.getElementById("_bpl").checked = checkedy;
- }();
- setInterval(function(){
- var bless;
- if((hero.clan) && (b_lo.checked==true)){
- for(let a in g.item)10 == g.item[a].st && (bless = g.item[a]);
- if('undefined' == typeof bless)
- _g(`clan&a=skills_use&name=blessing&opt=${localStorage.getItem(UserAX+'b_k'+ChAX)}&ans=1`)
- }}, 5000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement