Skip to content

Instantly share code, notes, and snippets.

View AKASGaming's full-sized avatar
😃

Ashton AKASGaming

😃
View GitHub Profile
@AKASGaming
AKASGaming / Plex Table View Scraper.js
Created August 30, 2025 20:20
This script auto-scrolls through Plex > Your Movie Library > Table View, scrapes all the movie titles, and saves them as a clean list. Works by simulating scrolling until the end of the list is reached. Captures each row as it becomes visible (so even if Plex unmounts off-screen items, you still keep them). Outputs results to the console and cop…
(async () => {
// 🔧 EDIT these if needed
const SCROLL_CONTAINER_SELECTOR = ".DirectoryListPageContent-pageContentScroller-O3oHlt.PageContent-pageContentScroller-dvaH3C.Scroller-scroller-S6_dko.Scroller-omni-bAqZII";
const ROW_SELECTOR = ".MetadataTableRow-title-CrTfGf a, a.MetadataTableRow-title-CrTfGf";
// --- helpers ---
const sleep = (ms) => new Promise(r => setTimeout(r, ms));
const isVisible = (el) => {
if (!el) return false;
const rects = el.getClientRects();
@AKASGaming
AKASGaming / carservices.js
Last active January 18, 2025 22:46
Exports your car's Service History from the CarFax.com Service History page to CSV
// Paste the following code into Chrome's Developer Tools (Ctrl + Shift + I)
(function () {
const serviceRecords = [];
const serviceRecordElements = document.querySelectorAll('[id^="service-record-"]');
let lastValidOdometer = 0; // Default for missing odometer values
// Iterate through all service records visible on the page
serviceRecordElements.forEach((serviceRecordElement) => {
@AKASGaming
AKASGaming / emojisextractor.js
Created January 4, 2025 16:33
Exports emojis from the Discord Developer Portal that are uploaded to your bot
// Paste the following code into Chrome's Developer Tools (Ctrl + Shift + I)
async function collectAllEmojis() {
let allEmojis = [];
async function scrapeCurrentPage() {
let emojis = Array.from(document.querySelectorAll('.rowWrapper-2RxnWO')).map(emoji => {
const nameInput = emoji.querySelector('.inputMini-Un2tP4');
const name = nameInput ? nameInput.value : 'No name found'; // Ensure capturing value