PF2M / Yeahbot+

// ==UserScript==
// @name         Yeahbot+
// @namespace    http://pokemonfan2000man.x10.bz/
// @version      1.0
// @description  Experimental new version of Yeahbot that lets you give Yeahs to pages on a per-page basis.
// @author       PF2M
// @match        https://miiverse.nintendo.net/titles/*/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    if(window.location.href.indexOf('#yeahbot') > -1) {
        $('.empathy-button:not(.empathy-added)').click();
        setTimeout(function(){location.reload();},100);
    } else {
        $('.favorite-button').after('<button class="button" onclick="javascript:window.location.href=window.location.href+&quot;?page_param={&quot;per_page&quot;:&quot;5&quot;}#yeahbot&quot;;location.reload();"><font face="MiiverseSymbols" color="#3CAA00" style="margin: -2px 5px 0 0;" size="3px">E</font>Run Yeahbot</button>');
    }
})();