• Member Since 20th Oct, 2013
  • offline last seen 7 hours ago

Sollace


I have done nothing productive all day and I have a Ko-Fi now!

More Blog Posts311

May
18th
2015

Monday: <insert joke here> · 2:38pm May 18th, 2015

It's been too long since I made one of these, too long.

Anyone who reads knighty's blogs should know he's made some changes to how avatars are handled. However great this is it has also broken some things in my scripts so now here's some updates to fix those.

Firstly, Nosey hound is updated to version 1.5.2 to work with the new avatar urls. It will also do a little cleanup on the changes history to remove that <x joined> <x left> spam resulting from knighty's recent change.

Controls Freak is also updated to 1.4.3. This fixes a long standing bug where buttons would disappear when a new one was added. Your configs will still get slightly corrupted when this happens but any unassigned buttons should now pop up in the disabled bin instead of vanishing into the ether.


*suddenly, and for no reason at all, Rainbow Mash*


For anyone using my userstyles I've fixed Somment Style-

Apple Bloom please, that joke is so old now.

So yeah, Somment Style is updated so spoilers won't appear huge any more.


Also I'll say it here, Exam season is almost here. That means two things. #1, I'll have to start studying. And #2, once that's done I'll have more time for pony which means I'll hopefully be back to writing more than once in a blue moon.


Script download pages:

Report Sollace · 253 views ·
Comments ( 27 )

<insert witty comment that presents a false pretense of my intelligence>

What do i do about the Bookmarks? I have to go to settings for it now. 8/

3078708
Are they not appearing on your toolbar?

If you're Using Controls Freak you might have to reset it.

--Sollace

3079970
i'll try

edit: it didn't work

3080670
Hm.

The button should be there. I have it working fine on mine regardless of whichever order the scripts run in. Maybe try turning off Controls Freak?

--Sollace

3080841
Hmmm...

Do you have any other scripts that make changes to the user toolbar? That's the only way I can think of that the bookmarks butten would suddenly not appear.

--Sollace

3080919
only your stuff. I also have Fimfic Sommter if that changes anything

3081105
That should be fine.

Hm... I don't know why your bookmarks button isn't showing up then.

--Sollace

3081134
could there may be a specific code we can look at?

3082158
You can look at where it's inseerting the button.
Around line 342.

342 $('.user_toolbar audio').before(button);

--Sollace

3083623
I clicked on Settings and searched there.
Lines 310-350

e.preventDefault( );
LocalStorageSet( "show_interactive_pony", $(this).find( 'input[name="show_interactive_pony"]' ).is( ":checked" ) ? 1 : 0 );
LocalStorageSet( "user_toolbar_colour", $(this).find( 'input[name="user_toolbar_colour"]' ).val( ) );
LocalStorageSet( "show_chapter_progress_bar", $(this).find( 'input[name="show_chapter_progress_bar"]' ).is( ":checked" ) ? 1 : 0 );
LocalStorageSet( "show_banner", $(this).find( 'input[name="show_banner"]' ).is( ":checked" ) ? 1 : 0 );
LocalStorageSet( "body_bg_colour", $(this).find( 'input[name="body_bg_colour"]' ).val( ) );

var element = $(this);

if ( $(this).find( 'input[name="view_mature"]' ).is(':checked') && ( getCookie( "view_mature" ) == null || getCookie( "view_mature" ) != 'true' ) )
{
StyledConfirm( 'Please confirm that you are at least 18 years of age by clicking OK. Click Cancel if this is not true.',
function( )
{
element.find( 'input[name="view_mature"]' ).attr('checked',true);
},
function( )
{
element.find( 'input[name="view_mature"]' ).attr('checked',false);
},
function( )
{
setCookie('view_mature', element.find( 'input[name="view_mature"]' ).is(':checked'), 365);

//window.location.reload( );
InitialiseLocalSettings( );

$("#saved_message").fadeIn( );
} );

}
else
{
setCookie('view_mature', $(this).find( 'input[name="view_mature"]' ).is(':checked'), 365);

//window.location.reload( );
InitialiseLocalSettings( );

$("#saved_message").fadeIn( );
}
} );

3083702
Um...

That has nothing to do with FimFiction Advanced.

All of my code is located in Addons > User Scripts > FimFiction Advanced. Right Click > Edit.

Or you can just read the source on github here.

Edit: May have gotten the line number wrong due to some changes I made in the copy I have. It should be at line 321.

--Sollace

3083750
Idk how to access that.

3083784
You can just read the source on github this is a link.

In Firefox you just go to where you would to disable it. And instead of clicking disable, right click it and there is an edit option.

i.imgur.com/SzQQE4w.png?2

--Sollace

3083794
well the thing is I go by Google Chrome

3084868
ok so good news, i got there. bad news, the line is already in place. =/
so now we're kind of back to square one

3084873
Uh yes. The line I gave you is already there. I meant for you to try running that section to see if it works.

Try pasting this into the console (CTRL+SHIFT+I to open the console):
alert($('.user_toolbar audio').length);

And tell me what number shows up.

--Sollace

3084888
Hm...

It should be 1. For some reason you don't have the audio thing fimfiction uses for it's (broken) notifications.

Check that you have them premitted in your settings, or try turning off some other scripts. It could be that one of them are removing it.

I'll try finding a better way of adding the button for the next update.

Edit: Try replacing line 321 with:
$('.user_toolbar .bookshelves').parents('li').after(button);

--Sollace

3084910
You want me turn on the audio for Fimfic Notifications? But they're horrible!:fluttershysad:

3084916
I kind of like them. :applejackunsure:

Anyway see my edit.

--Sollace

3084923
alright it works.
and it's annoying for me cause the Feed is always updating and sometimes i leave fimfic in the background and it's just
BEEP BEEP BEEP BEEP BEEP MOTHER FUCKER DO I HARASS YOUR EARS?! BEEP BEEP!

3084982
I thought it only beeped when someone posted a chapter or replied to you?

I wish it would work in Firefox, right now the whole thing's broken.

--Sollace

3085012
on google chrome, its different and not really for the better

Login or register to comment