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:
I hereby claim:
To claim this, I am signing this object:
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.
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(
| $('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'); |
| (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, |