Home Forums TextFugu a suggestion to TEXTFUGU creators

This topic contains 4 replies, has 3 voices, and was last updated by  Justin 9 years, 8 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #47600

    DanaR
    Member

    PROBLEM: When I wanted to get back learning after a day break (in which my computer was turned off), I found myself straggling to find out where i stopped yesterday.
    SOLUTION: just mark the pages the user visited with a different color bottom in the main lessons page.
    Is it doable??

    #47603

    Justin
    Member

    EtoEto is going to be replacing TF soon enough, so no changes are being made here.

    Doable? Yes, absolutely. Going to happen? Never. But I’m sure EtoEto will have sort of progress tracking.

    I haz a blog http://maninjapanchannel.wordpress.com/ https://www.youtube.com/watch?v=qLQzB-1u-dg
    #47604

    Justin
    Member

    *Solution in the meantime, just bookmark the page you’re on.

    I haz a blog http://maninjapanchannel.wordpress.com/ https://www.youtube.com/watch?v=qLQzB-1u-dg
    #47649

    Thierdox
    Member

    This is something I also found annoying… TextFugu actually already marks your pages by using standard browser functionality that uses your history to mark links.

    The reason it doesn’t work on the lesson page is because the next/previous buttons inside the lessons have an extra “/#top” parameter at the end of the link, and therefore the browser sees it as 2 different locations.

    Personally I just wrote a quick user-script to remove the “/#top” part on all the links. You can install a browser extension called Greasemonkey and then add my script if you want to use it.

    
    // ==UserScript==
    // @name        TextFugu - LinkFixer
    // @namespace   Thierdox
    // @include     http://www.textfugu.com/*
    // @version     1
    // @grant       none
    // ==/UserScript==
    
    (function() {
    	var links = document.querySelectorAll('a.btn');
    
    	var i = links.length;
    	while (i--) {
    		links.href = links.href.replace('/#top', '');
    	}
    })();
    

    I think if you add “/#top” to all the links on the lesson page it would also fix it. So that would be a real quick way to fix it if the site owner wants to do it.

    #47650

    Justin
    Member

    Oh hey that’s actually really awesome. Thanks! Where were you a couple years ago :P

    I haz a blog http://maninjapanchannel.wordpress.com/ https://www.youtube.com/watch?v=qLQzB-1u-dg
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.