EDIT: Apparently this script kicked so much ass Knighty decided to make it useless by putting the popular box at the top by default. So now here's a script for putting it at the bottom for sheits and gigg0lz:
// ==UserScript==
// @author Queue
// @version 2.0
// @name Popbox Pusher
// @description Puts the popular story box at the bottom of the right column on FIMFic
You seem to be much more adept at them than I am. For example, I really don't have a clue of how you did your tag hack script. Don't get me wrong, I know how to manually manipulate the tags, but I don't know how to get the onsubmit method to not catch when I try to push through more than 5 character tags. I just don't know enough about how webpages work.
2316883 Because the buttons are force-pressed by a tool, not the user's press on the mouse. Therefore, the preventing JavaScript doesn't notice it and lets it slip through. Just one of knighty's many terribly coded security holes.
That explanation seems dodgy to me because this bit of code still executes if you try to check/uncheck a character, and it counts the character tags the same way.
$(".character_selector input").change( function(e) { // Add up number of checked var num_checked = 0; $(".character_selector input:checked").each( function(e) { num_checked++; } );
if ( num_checked > 5 ) { ShowErrorWindow( "Maximum of 5 characters can be selected" ); $( this ).attr( "checked", false ); } } );
I stepped through the submit logic and it seems to be skipping the onsubmit method altogether.
EDIT: Apparently this script kicked so much ass Knighty decided to make it useless by putting the popular box at the top by default. So now here's a script for putting it at the bottom for sheits and gigg0lz:
I didn't know you were doing Userscripts as well. Welcome!
2316775
You seem to be much more adept at them than I am. For example, I really don't have a clue of how you did your tag hack script. Don't get me wrong, I know how to manually manipulate the tags, but I don't know how to get the onsubmit method to not catch when I try to push through more than 5 character tags. I just don't know enough about how webpages work.
2316801
I do almost everything with jQuery. The tag hack's entire code is actually just this:
jQuery makes JS coding so much easier and faster, it's incredible. I'd highly recommend you learn it.
2316823
I don't understand why that doesn't trigger this when the form submits:
It should be preventing the form from submitting if it has more than 5 character tags. What's going on?
2316883
Because the buttons are force-pressed by a tool, not the user's press on the mouse. Therefore, the preventing JavaScript doesn't notice it and lets it slip through. Just one of knighty's many terribly coded security holes.
2316907
That explanation seems dodgy to me because this bit of code still executes if you try to check/uncheck a character, and it counts the character tags the same way.
I stepped through the submit logic and it seems to be skipping the onsubmit method altogether.
2316937
Then I don't know and it's just dumb luck due to knight'y coding. :V
2316978
I am so confused now.
2316801 You know you can ask me aboot this shit, reit?
2317160
Yes, and we've talked about it before. However, you do not appear to be on Skype reit naow.
2317160
Remember the time when you weren't geil? Me neither.
2318655 k