Skip to content

Instantly share code, notes, and snippets.

@juvian
juvian / neopets-ruffle-fix.user.js
Last active December 7, 2023 20:12
Fixes ruffle in order to be able to send scores
// ==UserScript==
// @name Neopets Ruffle fix
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Fixes ruffle in order to be able to send scores
// @author juvian
// @match https://www.neopets.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=neopets.com
// @grant GM_webRequest
// ==/UserScript==
@juvian
juvian / shopToPetpage.user.js
Last active August 19, 2023 13:30
gets info from neopets shop to export to html for petpage
// ==UserScript==
// @name Shop to petpage
// @namespace http://tampermonkey.net/
// @version 1.2
// @description gets info from shop to export to html for petpage
// @author Julian
// @match http://www.neopets.com/market.phtml?*type=your*
// @grant GM_xmlhttpRequest
// @connect items.jellyneo.net
// ==/UserScript==
@juvian
juvian / neopets-old-shop-toolbar.user.js
Last active July 21, 2023 23:03
Neopets old shop toolbar
// ==UserScript==
// @name Neopets old shop toolbar
// @namespace http://tampermonkey.net/
// @version 0.5
// @description Changes shops links to old shop toolbar
// @author juvian123
// @match ://*.neopets.com/*
// @grant none
// @run-at document-end
// ==/UserScript==
@juvian
juvian / neopets-item-list-extractor.user.js
Last active March 21, 2023 19:36
Makes a list of neopets items in page
// ==UserScript==
// @name Neopets Item List Extractor
// @namespace http://tampermonkey.net/
// @version 0.6
// @description Makes a list of neopets items in page
// @author Juvian
// @match https://items.jellyneo.net/*
// @match ://*.neopets.com/inventory.phtml*
// @match ://*.neopets.com/gallery/*
// @match ://*.neopets.com/safetydeposit.phtml*
// ==UserScript==
// @name Neopets Fix UC Customization
// @namespace http://tampermonkey.net/
// @version 0.2
// @description After going to customization, make sure desired pet is selected and click on tampermonkey icon and then fixUC
// @author Juvian
// @match https://www.neopets.com/customise/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=neopets.com
// @require https://raw.githubusercontent.com/emilkm/amfjs/master/amf.js
// @grant GM_registerMenuCommand
@juvian
juvian / neopets-simple-customization.user.js
Created September 17, 2022 06:51
Neopets Simple Customization
// ==UserScript==
// @name Neopets Simple Customization
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Allows calling ncmall from my site
// @author Juvian
// @match https://eden-item-guide.glitch.me/neo/customization*
// @icon https://www.google.com/s2/favicons?sz=64&domain=glitch.me
// @grant GM_xmlhttpRequest
// @grant unsafeWindow
@juvian
juvian / DragNDropRanking.user.js
Created February 23, 2022 18:27
Gallery organizer fix for https
// Original script: https://github.com/bajuwa/TampermonkeyScripts/blob/master/Gallery/DragNDropRanking.user.js
// ==UserScript==
// @name AutoHelper - Gallery Organizer
// @namespace http://tampermonkey.net/
// @version 1.1
// @description try to take over the world!
// @author bajuwa
// @match *://www.neopets.com/gallery/*
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==
@juvian
juvian / shapeshifter.py
Created February 11, 2022 17:58
Neopets fast shapeshifter solver
from pulp import *
board = '0040040400000,4434244404040,4433242322330,0040443314340,0000004010244,0004043442044,0003434302334,0444334004030,4403334004444,0333400404334,0040044440404,0040004444000,0434000403440,0404000444000'.split(',') #assuming I always want to get to 0
modulo = 5
pieces = ".X.X,XX.X,.XXX,XX.. XXX ..X,XXX,X.. XXX,X..,X.. X,X,X X.X,XXX X..,XX.,.XX XX,XX XX X.X,XXX,X.X .XXX,..X.,XXX. X.X,XXX X..,XXX,..X X XX.X,X..X,XXXX,..X. XX.,.XX X.X,XXX,X.X XX.,.XX X.X,X.X,XXX XXX,X.X,XXX .X..,XX.X,.XXX ...X,X.XX,X.X.,XXX.,X.X. XXX,X.X X.X,XXX XXXX,X...,X... X..,XX.,.XX .XX.,XX..,.XXX XXX.,..XX,XXX.,.X..".replace('.', '0').replace('X', '1').split(' ')
pieces = list(map(lambda x: x.split(','), pieces))
piecesPossiblePlacements = [] # at which x, y we can plece each piece
@juvian
juvian / neopets-faster-petpage-textarea.user.js
Created January 3, 2022 00:20
Neopets faster petpage textarea
// ==UserScript==
// @name Neopets faster petpage textarea
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Disables spellcheck and stuff, less laggy
// @author Juvian
// @match https://www.neopets.com/editpage.phtml*
// @icon https://www.google.com/s2/favicons?domain=neopets.com
// @grant none
// ==/UserScript==
@juvian
juvian / amqFullScreen.user.js
Last active November 28, 2021 22:32
AMQ Fullscreen video - for chrome
// ==UserScript==
// @name AMQ Fullscreen video
// @namespace http://tampermonkey.net/
// @version 1.2
// @description Press ctrl + q when a video is being played to enter full screen with the video. It will close automatically on round start
// @author Juvian
// @match https://animemusicquiz.com/*
// @grant none
// ==/UserScript==