Commit 57fa7480 authored by 0xdf's avatar 0xdf
Browse files

added HolidayHack hightlight items script

parent dd265a93
## Highlight Items
Script developed for the 2020 Sans Holiday Hach Challenge. Will draw a big circle around items with the HTML class `.item-clicker`. Useful for finding parts for the Santavator and the Proxmark3.
See [https://0xdf.gitlab.io/holidayhack2020/4#tamper-monkey](https://0xdf.gitlab.io/holidayhack2020/4#tamper-monkey)
## Hide Others
Script developed for 2019 Sans Holiday Hack Challenge. Will hide other players.
See: [https://0xdf.gitlab.io/holidayhack2019/13](https://0xdf.gitlab.io/holidayhack2019/13)
// ==UserScript==
// @name Holiday Hack Highlight items
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author 0xdf
// @match https://2020.kringlecon.com/
// @grant none
// @run-at document-idle
// ==/UserScript==
window.setInterval(highlight_items, 2000);
function highlight_items() {
document.querySelectorAll('.item-clicker').forEach(function (item) {
item.style.backgroundColor = "rgba(255,192,203,0.5)";
item.style.border = "2px red solid";
item.style.borderRadius = "100px";
})
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment