User talk:Phlip/Greasemonkey

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(Eventual to-do list: One more thing.)
(Homestar-Fullon Edit: Short reply for Consonance.)
Line 24: Line 24:
<pre>var dh = window.innerHeight - 20;</pre>
<pre>var dh = window.innerHeight - 20;</pre>
This kept all the content in the window, but I didn't have to scroll down to see the navbar at the bottom. Did this happen to anyone else? [[User:Consonance|Consonance]] 08:39, 23 June 2006 (UTC)
This kept all the content in the window, but I didn't have to scroll down to see the navbar at the bottom. Did this happen to anyone else? [[User:Consonance|Consonance]] 08:39, 23 June 2006 (UTC)
 +
:Not me. Works perfectly for me. --{{User:X-Spider2/X-Sigger2}} 03:04, 14 July 2006 (UTC)
==Eventual to-do list==
==Eventual to-do list==

Revision as of 03:04, 14 July 2006

Suggestion

Would it make sense to change line 272 to

		addHRWikiLink("Index_Page");

Then I suppose line 261 could be removed. By the way, amazing work Phlip. -- Tom 17:25, 7 March 2006 (UTC)

I suggest that the games on videlectrix.com should be added, such as

http://www.videlectrix.com/duckguard1.html
http://videlectrix.com/duckguard1.html
http://www.videlectrix.com/racewalk.html
http://videlectrix.com/racewalk.html
http://www.videlectrix.com/hallrunner.html
http://videlectrix.com/hallrunner.html
http://www.videlectrix.com/lcd_game.html
http://videlectrix.com/lcd_game.html
http://www.videlectrix.com/thydungeonman2.html
http://videlectrix.com/thydungeonman2.html

And yeah, you rock. Libertyernie 16:32, 8 April 2006 (UTC)

Hmm, that's a good point... I'll get on that sometime (probably tomorrow). --phlip TC 16:37, 8 April 2006 (UTC)
The reason I thought of this was because I realized the Pause button on the seekbar can be used for skipping a level in Duck Guardian. Libertyernie 21:47, 12 April 2006 (UTC)

Homestar-Fullon Edit

Using the user script I was getting a scrollbar on every page, so I edited line 411 from

var dh = window.innerHeight - 10;

to

var dh = window.innerHeight - 20;

This kept all the content in the window, but I didn't have to scroll down to see the navbar at the bottom. Did this happen to anyone else? Consonance 08:39, 23 June 2006 (UTC)

Not me. Works perfectly for me. --Y2K (15px-Crystal_Clear_app_xchat.png15px-Crystal_Clear_app_kedit.png15px-Crystal_Clear_app_email.png) 03:04, 14 July 2006 (UTC)

Eventual to-do list

(in no particular order)

  • Done General cleanup of the code.
  • Done Work on Videlectrix.
  • Done Work on the mirrors (kitkorp (not needed with Tom working on completing the HRWiki mirror) and HRWiki).
  • Done Some way of turning various features on and off maybe?
  • Done replace the navbar with text links (this is more for me than for you guys).
  • Done resize the seek bar when the toon resizes (if you resize the window)
  • Done show outside-the-frame stuff

Feel free to add suggestions. --phlip TC 21:38, 9 April 2006 (UTC)

I've got one. You could try "flipping the whole page upside down". You know, using the flipped navbar, too. And putting the navbar above the flipped toon/game.
Also, you could try adding A-B repeat to the seek bar, if you know enough to do that. Preferably make it a seperate sub-option in the prefs, too.
Totally not getting old, Y2K (15px-Crystal_Clear_app_xchat.png15px-Crystal_Clear_app_kedit.png15px-Crystal_Clear_app_email.png) 22:57, 5 June 2006 (UTC)
PS: I've tried to add a seconds counter to my Sydney clock, with this js code:
 var seconds = time.getUTCSeconds();
 if (seconds < 10) { seconds = "0" + seconds; }
but it doesn't work right, apparently. Think you can help me out?
Thanks for fixing that, but I need a bit more help. I've tried to create a 1-click bookmarker, but it doesn't work correctly. This is line 23 on my JS:
 addQuickbarLink("javascript:AddBookmark();", "bookmark this page", "userpage");
Think you can help me out again?
Nevermind. Left it out.
Made from crap,
Y2K (15px-Crystal_Clear_app_xchat.png15px-Crystal_Clear_app_kedit.png15px-Crystal_Clear_app_email.png) of the Corn Army 23:54, 11 June 2006 (UTC)
One more thing. I've tried to add a page logs tab for myself on the fanstuff wiki, but again, there's something wrong in the code, which is:

function addPageLogButton()
{
  var href = document.location.href;
  {
    var historyHref = document.getElementById( "ca-history" ).firstChild.href;
    var div = document.getElementById( "p-cactions" );
    var ul = div.getElementsByTagName( "ul" )[0];
    var newLi = document.createElement( "li" );
    var newA = document.createElement( "a" );
    newA.setAttribute( "href" , historyHref.replace( "/index.php?title=" , "/index.php?title=Special:Logs&target=" ) + historyHref.replace( "&action=history" , "" ) );
    var text = document.createTextNode( "page logs" );
    newA.appendChild( text );
    newLi.appendChild( newA );
    ul.appendChild( newLi );
  }
}
if ( window.addEventListener ) window.addEventListener( "load" , addPageLogButton , false );
else if ( window.attachEvent ) window.attachEvent( "onload", addPageLogButton );
Last time I'll ask,
Y2K (15px-Crystal_Clear_app_xchat.png15px-Crystal_Clear_app_kedit.png15px-Crystal_Clear_app_email.png) 03:02, 14 July 2006 (UTC)
Personal tools