// ==UserScript== // @name FA Fixes Control Panel // @namespace FurAffinity.net // @version 1.4 // @description Adds a control panel of fixes to the FurAffinity website, so you can enable/disable them at will. // @author JaysonHusky // @match *://www.furaffinity.net/* // @exclude *://www.furaffinity.net/login/ // @exclude *://www.furaffinity.net/logout/ // @exclude *://www.furaffinity.net/controls/submissions/ // @exclude *://www.furaffinity.net/controls/settings/ // @grant GM_getValue // @grant GM_setValue // @require http://code.jquery.com/jquery-latest.js // @downloadURL none // ==/UserScript== (function() { 'use strict'; // Load Current Settings function FAFCP_LoadCP(i){ var setting_returned = GM_getValue(i); if(setting_returned=="yes"){ $('#'+i+'_yes').prop("checked", true); } else if(setting_returned=="no") { $('#'+i+'_no').prop("checked", true); } else { console.log('[DEBUG}: Setting: '+i+' Returned: '+setting_returned+' (Result not valid, or control not set)'); } } function FAFCP_Load_Tweaks(i){ var setting_returned = GM_getValue(i); if(setting_returned=="yes"){ return "yes"; } else if(setting_returned=="no") { return "no"; } else { return "undefined"; } } function FAFCP_SaveSettings(fafcp_nct,fafcp_sbg,fafcp_hs,fafcp_os,fafcp_sst,fafcp_sstpo,fafcp_fn,fafcp_tp,fafcp_nf,fafcp_bbf){ GM_setValue('fafcp_nct',fafcp_nct);GM_setValue('fafcp_sbg',fafcp_sbg);GM_setValue('fafcp_hs',fafcp_hs);GM_setValue('fafcp_os',fafcp_os); GM_setValue('fafcp_sst',fafcp_sst);GM_setValue('fafcp_sstpo',fafcp_sstpo);GM_setValue('fafcp_fn',fafcp_fn);GM_setValue('fafcp_tp',fafcp_tp); GM_setValue('fafcp_nf',fafcp_nf);GM_setValue('fafcp_bbf',fafcp_bbf); } function ExecuteTweak(tweak){ switch(tweak) { case "NoCustomThumbnails": $("img[src*='t.facdn.net']").each(function(index){ var thumburl=$(this).attr('src').replace("@150","@400"); $(this).attr("src",thumburl); }); break; case "SidebarBeGone": $("").appendTo("head"); break; case "HiddenStreams": $("").appendTo("head"); break; case "ObviousStreams": $("").appendTo("head"); break; case "SameSizeThumbnails": $("").appendTo("head"); break; case "SameSizeThumbnailsPO": $("").appendTo("head"); break; case "FixedNavigation": $("").appendTo("head"); break; case "TidyProfile": var ProfileSize=480; if ($('.userpage-profile-info').height()>ProfileSize){ $('.userpage-profile-info').css('height',''+ProfileSize+'px'); $('.userpage-profile-info').css('overflow-y','auto'); } break; case "NoteFix": $('').appendTo("head"); break; case "BringBackButtons": $('.flex-submission-container').before('
Disables Furaffinity from showing custom thumbnails on all submissions. Replacing the original thumbnails with a scaled down version of the actual submission.
Relocates the sidebar off the screen, so it can be activated by hovering over it.
Fixes the fullscreen submission bug
Hides all stream notifications in the notifications centre.
Important: Does not change the notifications counter!
Re-styles stream notifications to make them more obvious in the notification's centre.
Adjusts all thumbnails of submissions to be of the same size (150px x 150px)
Adjusts all thumbnails on profile pages to be of the same size (150px x 150px)
Places the navigation bar in a fixed position, so it scrolls with the page
Add's a scroll bar to the the user profile section, if it's determined to be too long, to avoid unnesscessary scrolling.
Fixes the almost invisible textboxes/textarea's
Brings back the submission buttons when the sidebar is hidden
For widths between 480px & 1070px
FurAffinity Fixes - Control Panel | |||||||||
|