Not signed in (Sign In)

Not signed in

Want to take part in these discussions? Sign in if you have an account, or apply for one below

  • Sign in using OpenID

Discussion Tag Cloud

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome to nForum
If you want to take part in these discussions either sign in now (if you have an account), apply for one now (if you don't).
    • CommentRowNumber1.
    • CommentAuthorzskoda
    • CommentTimeMay 23rd 2011
    • (edited May 23rd 2011)

    I created a page emptypage. It would belong to meta category of pages but I do not want to attach even that label to it. I want it empty, I want it orphane, non-aliased and non-classified, truly minimal content and minimal sourcecode page.

    With one click of the mouse I call the label of nlab:HomePage in my bookmarks bar, and then I change the URL by hand or go from HomePage to one of the links or use the search from there. If I am on slow connection, sometimes even HomePage loads longer. I think that some other users can smartly use the initial page like that. HomePage has information for newcomers, experienced users can sometimes prefer emptypage as their cleaner and leaner nnLab homepage.

    So emptypage is a quick way to see that the lab is up with a minimal length page and to get the basis for nnLab search window or to change the URL without the cost of the HomePage load and HomePage html display time. Now with HomePage having also an additional Terms of usage section it grown today another bit more, so a reason more to create emptypage and to hopefully leave it empty.

    I use emptypage to have it easier to type than empty page.

    I hope other people won’t find it offending that I created a lean-expert-user depart point without consulting others, but I think it has obvious usages for some and it is not on the way to others, I hope.

    • CommentRowNumber2.
    • CommentAuthorUrs
    • CommentTimeMay 23rd 2011
    • (edited May 23rd 2011)

    Here is a trick that I use to check if the nnLab is awake, even if pages need minutes to load: I call just

      http://ncatlab.org/nlab/
    

    If the server is awake, you will see that it changes this URL in your browser’s address line to

     http://ncatlab.org/nlab/show/HomePage
    

    before even starting to load that page.

    • CommentRowNumber3.
    • CommentAuthorRodMcGuire
    • CommentTimeMay 23rd 2011
    • (edited May 23rd 2011)

    While I approve of emptypage, part of your usage seems to be to have a place to start a search from. A while back I wrote the Greasemonkey script given below which adds a button labeled “in new” to the right of the search field. If you click on the button it will search for whatever is in the search field in a new tab. Thus if you are at a nLab page you want to keep viewing you don’t have to open something like emptypage as a place to start a search from. Maybe this feature could be made part of the site HTML/JS if people can agree on a better label for the button than “in new”.

    // ==UserScript==
    // @name           search in new
    // @namespace      ~rm
    // @description    adds button to make new tab where search is performed
    // @include        http://ncatlab.org/nlab/show/*
    // @include        http://ncatlab.org/nlab/search*
    // @include        http://ncatlab.org/nlab/recently_revised
    // ==/UserScript==
    
    function searchClick (e){
     var sF = document.getElementById("searchField"); // input
     GM_openInTab("http://ncatlab.org/nlab/search?query=" + sF.value);
    }
    function Main(){
     var nE = document.getElementById("navEnd"); // empty span
     nE.innerHTML = '<input type="button" value="in new"'
      + ' title="click here for search to appear in new tab" />';
     nE.firstChild.addEventListener("click", searchClick, null);
    }
    Main();
    

    EDIT: replaced pre with tildes as suggested and the formatting now works. Thanks Andrew.

    • CommentRowNumber4.
    • CommentAuthorAndrew Stacey
    • CommentTimeMay 23rd 2011

    Rod, if you replace your <pre> tags by ~~~ then that should convert the block to code with no bother with indentation.

    • CommentRowNumber5.
    • CommentAuthorMike Shulman
    • CommentTimeMay 24th 2011

    Or you could just use one of these search bar plugins.

    • CommentRowNumber6.
    • CommentAuthorzskoda
    • CommentTimeMay 24th 2011
    • (edited May 24th 2011)

    Thanks guys, your nice technical advices are useful for future search use. Still, emptypage is for my usages more useful as a starting point for nnLab than HomePage when (often) on slow browser coupled with slow internet connection (once click on it, from there I change URL by hand). I hope it is not an offense.

    • CommentRowNumber7.
    • CommentAuthorTobyBartels
    • CommentTimeMay 24th 2011

    I take no offence.

    • CommentRowNumber8.
    • CommentAuthorMike Shulman
    • CommentTimeMay 24th 2011

    I have no objection to an empty page, but I don’t see what the advantage is. I never go to the nLab home page; I always just go directly to the page I’m interested in with the Firefox “searchbar” plugin. There’s one which searches, but there’s another one which just goes directly to the page with a particular name.

    • CommentRowNumber9.
    • CommentAuthorzskoda
    • CommentTimeMay 25th 2011
    • (edited May 25th 2011)

    I never go to the nLab home page; I always just go directly to the page I’m interested in with the Firefox “searchbar” plugin.

    I am the quickest by typing the URL (this may be URL which I visited before, but it may also be a URL which is not in memory, and I do that even when creating a new page). Clicking with mouse on the firefox bar with icons of main sites gives me HomePage/emptypage into the URL line and I quickly edit the last several letters. It is several seconds.