Anti-double-post

 
    • tburny said...
    • Moderator
    • 10 Oct 2008, 17:41

    Anti-double-post


    // ==UserScript==
    // @name Last.fm single submit
    // @namespace http://tburny.tb.funpic.de/download/lastfm
    // @include http://*lastfm.*/forum/*
    // @include http://*lastfm.*/group/*/forum/*
    // @include http://*last.fm/forum/*
    // @include http://*last.fm/group/*/forum/*
    // ==/UserScript==



    //GM_log("Last.fm single submit: launched");
    document.getElementById('editorSubmit').addEventListener('click',function(e){document.getElementById('editorSubmit').disabled=true;},false);

    Download: http://userscripts.org/scripts/show/35170

    This tiny one-liner disables the submit-button on new forum posts when clicking it, so you can't accidentally create more than one (identic) topic by clicking it more than once.

    greets,
    tburny

    Combo.fm: Combine your favourite radio stations! | My Blog | scala-lastfmapi
    P.S.: Do not click here
    throw new PokemonException(); //Gotta catch 'em all
    My forum post reflects my personal opinion :)
    Edited by tburny on 11 Oct 2008, 14:15
    • Alan71 said...
    • User
    • 10 Oct 2008, 19:21
    Put it in a file and host it somewhere if you want it to be added to the group's overview.

    spacefish, our leader and deity, will come around one day or another to do so.

    (ps: there's a typo in the thread's subject)

    • tburny said...
    • Moderator
    • 11 Oct 2008, 14:16
    ok put the link to userscripts.org, sorry I forgot that....and thx for the typo, you can have it, it's now yours :)

    Combo.fm: Combine your favourite radio stations! | My Blog | scala-lastfmapi
    P.S.: Do not click here
    throw new PokemonException(); //Gotta catch 'em all
    My forum post reflects my personal opinion :)
    • marshee said...
    • User
    • 25 Oct 2008, 13:02
    added

Anonymous users may not post messages. Please log in or create an account to post in the forums.