Skip to content

Instantly share code, notes, and snippets.

View TheWebs's full-sized avatar

Francisco TheWebs

  • Elecctro
  • Portugal
View GitHub Profile
/*eslint-disable*/
var n = n || {};
n.appendMessage = n => {
const t = new CustomEvent("bpac_send", {
detail: n
});
document.dispatchEvent(t)
};
const t = "Can't connect to b-PAC";
class IObject {
/*eslint-disable*/
var n=n||{};n.appendMessage=n=>{const t=new CustomEvent("bpac_send",{detail:n});document.dispatchEvent(t)};const t="Can't connect to b-PAC";export class IObject{constructor(n){this.p_=n}GetAttribute(i){const r="IObject::GetAttribute",u={method:r,p:this.p_,kind:i},f=new Promise((n,i)=>{const u=f=>{document.removeEventListener(r,u),f.detail.connect==!1?i(t):f.detail.ret==!1?n():n(f.detail.attribute)};document.addEventListener(r,u)});return n.appendMessage(u),f}GetData(i){const r="IObject::GetData",u={method:r,p:this.p_,kind:i},f=new Promise((n,i)=>{const u=f=>{document.removeEventListener(r,u),f.detail.connect==!1?i(t):f.detail.ret==!1?n():n(f.detail.data)};document.addEventListener(r,u)});return n.appendMessage(u),f}GetFontBold(){const i="IObject::GetFontBold",r={method:i,p:this.p_},u=new Promise((n,r)=>{const u=f=>{document.removeEventListener(i,u),f.detail.connect==!1?r(t):n(f.detail.ret)};document.addEventListener(i,u)});return n.appendMessage(r),u}GetFontEffect(){const i="IObject::GetFon
// ==UserScript==
// @name DIO-TOOLS-David1327
// @name:fr DIO-TOOLS-David1327
// @namespace https://www.tuto-de-david1327.com/pages/info/dio-tools-david1327.html
// @contributionURL https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7X8R9RK3TWGNN&source=url
// @version 4.16
// @author DIONY (changes and bug fixes by David1327)
// @description Version 2020. DIO-Tools + Quack is a small extension for the browser game Grepolis. (counter, displays, smilies, trade options, changes to the layout)
// @description:FR Version 2020. DIO-Tools + Quack est une petite extension du jeu par navigateur Grepolis. (compteur, affichages, smileys, options commerciales, modifications de la mise en page)
// @include https://*.grepolis.com/game/*
UEsDBBQACAgIAHmiSFEAAAAAAAAAAAAAAAAJAAQATUVUQS1JTkYv/soAAAMAUEsHCAAAAAACAAAAAAAAAFBLAwQUAAgICAB5okhRAAAAAAAAAAAAAAAAFAAAAE1FVEEtSU5GL01BTklGRVNULk1G803My0xLLS7RDUstKs7Mz7NSMNQz4OVyLErOyCxLLUIIB+SkVpQWK8AkeLmcSjNzSnSdKq0UchJLixJ5uZyLUhNLUlPAQo4FickZqQq+iWWpeQrGemZ6xhANKbpeKdkgOyz0DOKNDA15uXi5AFBLBwjOXbCPbQAAAIMAAABQSwMEFAAICAgAeaJIUQAAAAAAAAAAAAAAAAQAAABjb20vAwBQSwcIAAAAAAIAAAAAAAAAUEsDBBQACAgIAHmiSFEAAAAAAAAAAAAAAAASAAAAY29tL3N5bnRheHBob2VuaXgvAwBQSwcIAAAAAAIAAAAAAAAAUEsDBBQACAgIAHmiSFEAAAAAAAAAAAAAAAAZAAAAY29tL3N5bnRheHBob2VuaXgvc3BpZ290LwMAUEsHCAAAAAACAAAAAAAAAFBLAwQUAAgICAB5okhRAAAAAAAAAAAAAAAAJgAAAGNvbS9zeW50YXhwaG9lbml4L3NwaWdvdC9zbW9vdGh0aW1iZXIvAwBQSwcIAAAAAAIAAAAAAAAAUEsDBBQACAgIAHmiSFEAAAAAAAAAAAAAAAAuAAAAY29tL3N5bnRheHBob2VuaXgvc3BpZ290L3Ntb290aHRpbWJlci9jb21tYW5kLwMAUEsHCAAAAAACAAAAAAAAAFBLAwQUAAgICAB5okhRAAAAAAAAAAAAAAAAQwAAAGNvbS9zeW50YXhwaG9lbml4L3NwaWdvdC9zbW9vdGh0aW1iZXIvY29tbWFuZC9Db21tYW5kUmVkaXJlY3QuY2xhc3PFWPl/FGcZ/74k2WEnSwlHKAtYjlK6EGBpCpQmXMmSlIRNAmw4i+Jkd7IZspnZzswiFGs9EEWr8dbiVa0WD1SK
@TheWebs
TheWebs / rabadu.css
Created September 19, 2020 21:10
rabadurabadu
.bot-main-window {
position: absolute;
bottom: 20px;
left: 20px;
background-color: #06172a;
max-width: 200px;
min-width: 200px;
max-height: 50px;
min-height: 0px;
// ==UserScript==
// @name NewDawn
// @namespace http://naotenhosite.com
// @version 2.0
// @description Auto farm aldeias barabaras
// @author TheWebs
// @match https://*.grepolis.com/game/*
// @require https://kit.fontawesome.com/a076d05399.js
// @grant none
// ==/UserScript==
//ITowns.getTowns(); OBTER CIDADES
//HumanMessage.CLOSE_TIMEOUT_MS = 4500; //4500 default (em milisegundos) Tempo de display da notificação
//HumanMessage.success("Definições de cidades guardadas com sucesso!"); //mensagem tipo notificacao sucesso
//HumanMessage.success("Erro, definições não guardadas!"); //mensagem tipo notificacao erro
//GameListeners.FarmTownTradeRatioListener.farm_town_player_relation.getRelationForFarmTown(id_aldeia_farm); //PLAYER RELATION
'use strict';
var cidades_jogador_cru = [];
<script>alert('l');</script>
var testeT = function teste()
{
console.log("ID da cidade: " + Game.townId);
}
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package diogoprojeto;
import java.util.Scanner;
import java.util.Random;
/**
*