Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am nmaster64 on github.
  • I am nmaster64 (https://keybase.io/nmaster64) on keybase.
  • I have a public key whose fingerprint is 8651 9EB3 2B78 7E29 34F5 7727 53ED C19F 7D7A C5B0

To claim this, I am signing this object:

@nmaster64
nmaster64 / ffzsearch-marklet.md
Last active August 29, 2015 14:06
A bookmarklet for improved search on FrankerFaceZ.com.

This is a script designed specifically for FrankerFaceZ.com's Emote Page. It modifies the functionality of the search box to do a client-side, case-insensitive, full text search of all the face codes. It returns them in a nice section at the top.

To use, create a bookmark with the code below as the url, go to the page, and click the bookmark. Type a search and hit enter to see the new results. The marklet needs to run once per page load, but each search will no longer refresh the page.


Bookmarklet Version

javascript:!function(){window.ffzSearch={channels:[],faces:[],urls:[],init:function(){$(%22%23emotesearch%22).after(%22%3Cdiv%20id='searchresults'%20class='emotecontainer'%20style='display:block;position:static;'%3E%3C/div%3E%22),$(%22%23emotesearch%22).off(),$(%22%23emotesearch%22).keypress(function(e){13==e.keyCode%26%26ffzSearch.search($(%22%23emotesearch%22).val())}),$(%22img%22).each(function(){var%20e=

@nmaster64
nmaster64 / sgdq-marklet.js
Last active August 29, 2015 14:02
SGDQ Schedule - Countdown and Alarms
$('body').css('fontSize', '16px');
$('h3, .jumbotron, img.center-block').hide();
$('h1').css('margin', '20px 0').text('SGDQ Schedule (Local Time)');
$("#runTable tr").first().after("<tr style='display:none;'><td>6/20/2014 12:00:00 PM</td><td colspan='7'></td></tr>");
window.currentRow;
window.foundCurrent = false;
window.timeTable = $('#runTable').parent();
window.timeTableCols = $('#runTable > tr > td:first-child');
@nmaster64
nmaster64 / morimarklet.js
Last active April 3, 2020 08:48
Analyzes a MoriDB.com items page, parses data into JS objects, then rebuilds it with a new minimalistic layout. Also adds a progress bar and link to show the first 500 items (instead of just 50). Live updates.
(function() {
/* Checks */
if( document.domain.indexOf("moridb") < 0 ) { alert('This script is designed for use on MoriDB.com only!'); return; }
if( document.location.href.indexOf("items") < 0 ) { alert('This script is designed only for item pages!'); return; }
if( $('#content .item-list').length <= 0 ) { alert('Item list not found on this page!'); return; }
/* Functions */
updateItem = function(i, elem) {
var item = {
num: i,