This file contains hidden or 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
| // Simple extraction function | |
| function get_list() { | |
| const elements = document.querySelectorAll('._aad7'); | |
| return Array.from(elements).map(el => el.innerText.trim()); | |
| } | |
| // Your two lists | |
| let list1 = []; | |
| let list2 = []; |
This file contains hidden or 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() { | |
| var grades = {}; | |
| grades["total"] = { "sum": 0, "count": 0 }; | |
| var rows = document.querySelectorAll("table > tbody > tr"); | |
| for (i = 0; i < rows.length; i++) { | |
| var semester = rows[i].querySelectorAll("td")[0].innerText; | |
| if (!grades[semester]) { | |
| grades[semester] = { "sum": 0, "count": 0 }; | |
| } |
This file contains hidden or 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
| document.onload = function(){ | |
| var xValues = []; | |
| var yValues = []; | |
| Load(); | |
| getTemperature(); | |
| setInterval(function () { | |
| getTemperature(); | |
| }, 60000); |
This file contains hidden or 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
| html { | |
| font-family: Arial; | |
| display: inline-block; | |
| margin: 0px auto; | |
| text-align: center; | |
| } | |
| h2 { | |
| font-size: 3.0rem; | |
| } |
This file contains hidden or 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
| // discord script to collapse bars but now wont make the changell view bigger :( | |
| (()=>{ | |
| function swap(v) { | |
| switch(v) { | |
| case "collapse": | |
| return "visible" | |
| default: | |
| return "collapse" | |
| } | |
| } |
This file contains hidden or 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 sleep(ms) { | |
| return new Promise((resolve) => setTimeout(resolve, ms)); | |
| } | |
| let wait = 500; | |
| let next = document.querySelector(".coreSpriteRightPaginationArrow"); | |
| while (next) { | |
| await sleep(wait * 3); | |
| heart = document.querySelector(".fr66n > .wpO6b"); |