-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
364 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,13 @@ | ||
# scripts | ||
funny userscript collection to make chrome confused | ||
# Scripts | ||
funny userscript collection to confuse chrome | ||
## Quick installs: | ||
* antileet | ||
* [soft](https://github.com/k3rielit/scripts/antileet/raw/main/soft.user.js) | ||
* [hard](https://github.com/k3rielit/scripts/antileet/raw/main/hard.user.js) | ||
* [sziauram](https://github.com/k3rielit/scripts/antileet/raw/main/sziauram.user.js) | ||
* Flippity | ||
* [normal](https://github.com/k3rielit/scripts/flippity/raw/main/flippity-tamperm.user.js) | ||
* [funny](https://github.com/k3rielit/scripts/flippity/raw/main/ultimity-tamperm.user.js) | ||
* NR Addons [livemap](https://raw.githubusercontent.com/k3rielit/scripts/nr_addons/main/nr_livemap.user.js) | ||
* Oktatas.hu [normal](https://raw.githubusercontent.com/ahurkatolto/scripts/oktatas_hu/master/oktatas_hu.user.js) | ||
* Wizer.me [normal](https://raw.githubusercontent.com/k3rielit/scripts/wizerme/main/wizerme.user.js) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Antileet | ||
Leet content eltávolító script-ek Facebook posztokhoz. | ||
* **Soft**: Csak a posztok tartalmát cseréli le Leet Shitpost-ra, így a kommentek/reakciók/stb látszanak (~~meg lehet reportolni~~). | ||
* **Hard**: Mintha sose lett volna ott a poszt. | ||
* **szia uram**: Egy kedves úr megvédi önt a Leet-től. | ||
### Telepítés: | ||
* **Tampermonkey** bővítmény telepítése. ([Link](https://www.tampermonkey.net)) | ||
* Telepítés: | ||
* [soft link](https://github.com/k3rielit/scripts/antileet/raw/main/soft.user.js) | ||
* [hard link](https://github.com/k3rielit/scripts/antileet/raw/main/hard.user.js) | ||
* [sziauram link](https://github.com/k3rielit/scripts/antileet/raw/main/sziauram.user.js) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// ==UserScript== | ||
// @name antileet hard | ||
// @namespace antileet hard | ||
// @version 1.0 | ||
// @description Minden leet poszt megszűnik létezni. | ||
// @iconURL https://leet.hu/wp-content/themes/leet/assets/dist/img/favicon-32x32.png | ||
// @match *://*.facebook.com/* | ||
// @grant none | ||
// @require https://code.jquery.com/jquery-3.5.0.js | ||
// ==/UserScript== | ||
|
||
var observer = new MutationObserver(() => { | ||
$("span:contains('leet.hu')").parents().eq(21).remove(); | ||
}); | ||
observer.observe(document.body, {subtree: true, childList: true}); | ||
|
||
// importing jquery to remove 1 node, kekw |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// ==UserScript== | ||
// @name antileet soft | ||
// @namespace antileet soft | ||
// @version 1.0 | ||
// @description Minden leet poszt mostantól levegő. | ||
// @iconURL https://leet.hu/wp-content/themes/leet/assets/dist/img/favicon-32x32.png | ||
// @match *://*.facebook.com/* | ||
// @grant none | ||
// @require https://code.jquery.com/jquery-3.5.0.js | ||
// ==/UserScript== | ||
|
||
var observer = new MutationObserver(() => { | ||
$("span:contains('leet.hu')").parents().eq(9).html('<div style="font-size: 20px; text-align: center;">Leet Shitpost</div>'); | ||
$("span:contains('Mate Farkas'), span:contains('Dávid Németh')").replaceWith('Leet Employee'); | ||
}); | ||
observer.observe(document.body, {subtree: true, childList: true}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// ==UserScript== | ||
// @name antileet sziauram | ||
// @namespace antileet sziauram | ||
// @version 1.0 | ||
// @description SZIA URAM! | ||
// @iconURL https://leet.hu/wp-content/themes/leet/assets/dist/img/favicon-32x32.png | ||
// @match *://*.facebook.com/* | ||
// @grant none | ||
// @require https://code.jquery.com/jquery-3.5.0.js | ||
// ==/UserScript== | ||
|
||
var observer = new MutationObserver(() => { | ||
$("span:contains('leetesport.hu'), span:contains('leet.hu')").parents().eq(10).replaceWith('<div class="sziauram" style="height: 300px;width: 500px;background: url(https://media.discordapp.net/attachments/850826503830241351/850836188382363648/szialeeturam.png) no-repeat;background-size: cover;"></div>'); | ||
}); | ||
observer.observe(document.body, {subtree: true, childList: true}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Hippity hoppity the answers are now my property | ||
Autofills Flippity Scavenger Hunt answers. The funny version let's you send emails with [email protected], where the textbox group is the email composer. Click the submit button to send it (it has a 1 minute delay). | ||
### Manual use: | ||
Paste this script into the browser's console: | ||
```js | ||
for(let i in data) document.getElementById('a'+i).value=data[i][2] | ||
``` | ||
### Tampermonkey: | ||
1. Install the Tampermonkey extension. ([Link](https://www.tampermonkey.net)) | ||
2. Install: [```normal```](https://github.com/k3rielit/scripts/flippity/raw/main/flippity-tamperm.user.js) [```funny```](https://github.com/k3rielit/scripts/flippity/raw/main/ultimity-tamperm.user.js) | ||
### ❗ Important: | ||
- The script can become outdated if Flippity updates their code. Please leave an issue if that happens, I'll try to fix it. (Last tested: 2021.10.21.) | ||
- To test it: [flippity demo](https://www.flippity.net/sh.php?k=1ubDVulJpW7B2NDDuHMA1CtBwRxGiehQQZzeJpExdcwQ) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
for(let i in data) document.getElementById('a'+i).value=data[i][2]; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// ==UserScript== | ||
// @name flippity.js | ||
// @namespace flippity.js | ||
// @iconURL https://www.flippity.net/images/favicon-32.png | ||
// @version 1.1 | ||
// @description kekw | ||
// @author k3rielit | ||
// @match *://*.flippity.net/sh.php* | ||
// @grant none | ||
// ==/UserScript== | ||
for(let i in data) document.getElementById('a'+i).value=data[i][2]; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
// ==UserScript== | ||
// @name ultimity.js | ||
// @namespace ultimity.js | ||
// @version 1.0 | ||
// @author k3rielit | ||
// @description yeeeet | ||
// @iconURL https://www.flippity.net/images/favicon-32.png | ||
// @match *://*.flippity.net/sh.php* | ||
// @grant none | ||
// @require https://code.jquery.com/jquery-3.5.0.js | ||
// ==/UserScript== | ||
|
||
// adding tailwind (in the discouraged way), because why not | ||
$('head').append('<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">'); | ||
|
||
// create elements, listeners, and a timer that shows time (look at this junk) | ||
$('body').prepend('<div style="padding: 3px;"> Seconds: <span id="spanSeconds"></span> <button style="border: 1px solid black;" id="resetSecs"> Reset </button> <input type="number" id="nn1" value="0"> <button style="border: 1px solid black;" id="setSec"> Set seconds </button> <button style="border: 1px solid black;" id="fillansw"> Fill answers </button> </div>') | ||
document.getElementById('resetSecs').addEventListener("click",() => secs=0 ,false); | ||
document.getElementById('setSec').addEventListener("click",() => secs=document.getElementById('nn1').value ,false); | ||
document.getElementById('fillansw').addEventListener("click",function() { for(let i in data) document.getElementById('a'+i).value=data[i][2]} ,false); | ||
setInterval(() => $('#spanSeconds').text(`${Math.floor(secs/3600)}:${Math.floor((secs-Math.floor(secs/3600)*3600)/60)}:${secs%60}`),100); | ||
|
||
// deleting, making visible, and styling elements (yes after tailwind I still do these) | ||
$('#instructions').remove(); | ||
$('tr.noPrint').remove(); | ||
$('#doneScreen').attr('style',''); | ||
$('#done').remove(); | ||
$('#emailForm').append('<input type="submit" id="sssubmit">'); | ||
|
||
$('#formSubmitEmail').attr('placeholder','SubmitEmail (recipient)'); | ||
$('#formSubmitEmail').attr('type','text'); | ||
|
||
$('#formStudentName').attr('placeholder','StudentName (in title after "EmailSubj: ")'); | ||
$('#formStudentName').attr('type','text'); | ||
|
||
$('#formEmailText').attr('placeholder','EmailText (does nothing)'); // it actually does, it shows you this text after the test is submitted on the test page | ||
$('#formEmailText').attr('type','text'); | ||
|
||
$('#formEmailSubj').attr('placeholder','EmailSubj (in title before ": StudentName")'); | ||
$('#formEmailSubj').attr('type','text'); | ||
|
||
$('#formHuntResults').attr('placeholder','HuntResults (actual email content)'); | ||
$('#formHuntResults').attr('type','text'); | ||
|
||
$('input').attr('style','width: 400px; text-align: center; border: 1px solid black;'); | ||
$('#sssubmit').css('cursor','pointer'); | ||
|
||
/* DETAILS: | ||
You can use the generateTable() to get the results in a nice HTML presentation, or generateResults() to get the stock test result. | ||
$.get( "<HTML LINK>", function( data ) { | ||
document.getElementById("formHuntResults").value = data; // set email content with external HTML (with jquery xd) | ||
}); | ||
document.getElementById("formSubmitEmail").value = "<EMAIL>"; | ||
document.getElementById("formEmailText").value = ""; | ||
document.getElementById("formEmailSubj").value = "<EMAIL SUBJECT>"; // manually set other important email fields | ||
document.getElementById("emailForm").submit(); | ||
email (1 minute delay after submit): | ||
email title: "EmailSubj: StudentName" // email "preview" | ||
email content: "HuntResults" | ||
*/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# NR Addons | ||
Some extra features for the [NR panel](nightriderz.world). | ||
### userscript speedrun any%: | ||
1. Install the Tampermonkey extension. ([Link](https://www.tampermonkey.net)) | ||
2. [Install](https://raw.githubusercontent.com/k3rielit/scripts/nr_addons/main/nr_livemap.user.js) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
// ==UserScript== | ||
// @name NR Livemap Addons | ||
// @namespace NR_Addons | ||
// @version 1.0 | ||
// @description A search feature for the NR livemap. | ||
// @author k3rielit / hrzn | ||
// @match *://livemap.nightriderz.world/* | ||
// @icon https://cdn.nightriderz.world/images/website/favicon.png | ||
// @grant none | ||
// @require https://gist.githubusercontent.com/raw/2625891/waitForKeyElements.js | ||
// ==/UserScript== | ||
|
||
(function() { | ||
'use strict'; | ||
console.log('Thanks to BrockA https://gist.github.com/BrockA/2625891'); | ||
waitForKeyElements("div.race", run); | ||
function run() { | ||
let newElem = $(".settings").clone(); | ||
newElem.attr('style','right: 158px; width: 256px; background: url(https://i.kek.sh/B5fwbm4eZw2.png); '); | ||
newElem.attr('id','search-container'); | ||
newElem.find('.options').text('SEARCH'); | ||
newElem.children().eq(1).html(`<input type="text" style="width:239px; outline:none; font-family: 'NFSWSubHeadline';" class="showraces" id="search-tbx">`); | ||
newElem.appendTo(".move"); | ||
$('#search-tbx').on('input', function() { | ||
$('.race').children().css('border-radius','5px'); | ||
//console.log(this.value); | ||
for(let _i = 0; _i<$('.race').children().length; _i++) { | ||
if($('.race').children().eq(_i).attr('title').toLowerCase().startsWith(this.value.toLowerCase())) { | ||
$('.race').children().eq(_i).css('display','block'); | ||
$('.race').children().eq(_i).css('box-shadow',this.value.length>0 ? 'inset 25px 0px 20px -16px #6BEA0E' : 'none'); | ||
} | ||
else { | ||
$('.race').children().eq(_i).css('display','none'); | ||
$('.race').children().eq(_i).css('box-shadow','none'); | ||
} | ||
} | ||
}); | ||
} | ||
})(); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
## Oktatás.hu | ||
Az oktatas.hu-s pdf oldalakra 2 gombot rak, Az egyik megnyitja új lapon a feladat megoldókulcs párját, a másik fél képernyőre rakja. | ||
|
||
**Telepítés**: | ||
1. Tampermonkey bővítmény telepítése. ([Link](https://www.tampermonkey.net)) | ||
2. [telepítés](https://raw.githubusercontent.com/ahurkatolto/scripts/oktatas_hu/master/oktatas_hu.user.js) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// ==UserScript== | ||
// @name oktatas.hu | ||
// @namespace oktatas_hu | ||
// @version 2.0 | ||
// @author k3rielit | ||
// @iconURL https://www.oktatas.hu/design/images/favicon.ico | ||
// @updateURL https://raw.githubusercontent.com/ahurkatolto/oktatas.hu/master/oktatas_hu.js | ||
// @match *://dload-oktatas.educatio.hu/* | ||
// @grant none | ||
// @require https://code.jquery.com/jquery-3.5.0.js | ||
// ==/UserScript== | ||
|
||
(function() { | ||
$('body').append(`<div style="position: fixed; z-index: 999; left: 1%; bottom: 3%; font-size: 25px; text-align: center;"><a href="${window.location.href.replace("_fl.pdf","_ut.pdf")}" target="_blank" style="text-decoration: none;" title="Megnyitás új ablakban">🔮</a><hr><a style="text-decoration: none; cursor: pointer;" id="splits" title="Oldalfelezés">📄📄</a></div>`); | ||
$('embed').attr({ id: 'half1', style: 'width:100%; height: 100%; position:absolute; left: 0; top: 0;' }); | ||
$('body').append(`<embed id="half2" style="display: none; width: 50%; height: 100%; position: absolute; right: 0; top: 0;" src="${window.location.href.replace("_fl.pdf","_ut.pdf")}">`); | ||
document.getElementById("splits").addEventListener("click", splitScreen); | ||
var splits = false; | ||
function splitScreen() { | ||
$('#half1').css('width',splits ? '100%' : '50%'); | ||
$('#half2').css('display',splits ? 'none' : 'block'); | ||
$('#splits').text(splits ? '📄📄' : '📄❌'); | ||
splits = !splits; | ||
} | ||
})(); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Wizer.me hax | ||
Trade offer, i receive nothing, you receive Wizer.me answers........ | ||
### 🔮 Tutorial: | ||
1. Install the Tampermonkey extension. ([Link](https://www.tampermonkey.net)) | ||
2. [Install](https://raw.githubusercontent.com/k3rielit/scripts/wizerme/main/wizerme.user.js) | ||
3. Done, now whenewer a test loads, there'll be a 🔮 icon, which shows the right answers on click. | ||
### ❗ Important: | ||
- There can be tasks without a correct answer. | ||
- The script can become outdated if Wizer.me updates their API. Please leave an issue if that happens, I'll try to fix it. (Last tested: 2021.10.21.) |
Oops, something went wrong.