This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function clickButtons() { | |
var buttons = document.querySelectorAll("#yDmH0d > c-wiz > div > div.jkOv3d > c-wiz > c-wiz > div > div:nth-child(1) > c-wiz:nth-child(2) > div > div > div.ztN3hd > div.YxbmAc > div > button"); | |
for (var i = 0; i < buttons.length; i++) { | |
buttons[i].click(); | |
} | |
for (var j = 1; j <= 10; j++) { | |
var divButtons = document.querySelectorAll("#yDmH0d > c-wiz > div > div.jkOv3d > c-wiz > c-wiz > div > div:nth-child(" + j + ") > c-wiz > div > div > div.ztN3hd > div.YxbmAc > div > button"); | |
for (var k = 0; k < divButtons.length; k++) { | |
setTimeout(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Presearch.org ethical bot | |
// @namespace http://tampermonkey.net/ | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js | |
// @grant GM_addStyle | |
// @version 0.2 | |
// @description an Ethical presearch search bot | |
// @author LeftBased | |
// @match https://*.presearch.org/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const interval = setInterval(function () { | |
var problem = document.getElementsByClassName("card-title"); | |
for (var i = 0; i < problem.length; i++) { | |
var prob = problem[i].innerText; | |
var pr = prob.replace(" x ", "-"); | |
var splits = pr.split("-", 2) | |
var answer = splits[0] * splits[1] | |
} | |
var a = document.getElementsByClassName('card-button')[0].innerText; | |
b = document.getElementsByClassName('card-button')[1].innerText; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Ecosia Ethical Search Bot | |
// @namespace http://tampermonkey.net/ | |
// @require https://code.jquery.com/jquery-3.6.0.js | |
// @grant GM_addStyle | |
// @version 0.8 | |
// @description Ethical Ecosia searchbot with planted tree counter and cost per tree | |
// @author LeftBased | |
// @match https://www.ecosia.org | |
// @include https://www.ecosia.org/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyautogui as pag | |
from ctypes import windll | |
from pynput import mouse | |
import pygame | |
import math | |
SCREEN_WIDTH = 430 | |
SCREEN_HEIGHT = 61 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from os import system, name | |
import math | |
def tc(number, digits) -> float: | |
stepper = 10.0 ** digits | |
return math.trunc(stepper * number) / stepper | |
def quot(a,b): | |
return a/b | |
def multi(a,b): |