Skip to content

Instantly share code, notes, and snippets.

View AKASGaming's full-sized avatar
😃

Ashton AKASGaming

😃
View GitHub Profile
@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