Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^11: Update the GUI (What we want?)

by Anonymous Monk
on Jul 23, 2016 at 21:50 UTC ( [id://1168414]=note: print w/replies, xml ) Need Help??


in reply to Re^10: Update the GUI (What we want?)
in thread Update the GUI

Adding a new vote-interface shouldn't be harder, unless I'm missing something.

Its very trivial to add :)

As in its done Re: Perlmonks AJAX Voting (greasemonkey plugin)

Replies are listed 'Best First'.
Re^12: Update the GUI (What we want?)
by Your Mother (Archbishop) on Jul 23, 2016 at 22:10 UTC

    *It's.

    Are you using it? This is how it interacts when used from the free nodelet–

    The XSS Auditor refused to execute a script in 'http://perlmonks.org/?' because its source code was found within the request. The auditor was enabled as the server sent neither an 'X-XSS-Protection' nor 'Content-Security-Policy' header.

      And then what happened?

        It broke everything else in my free nodelet and did nothing.

Re^12: Update the GUI (What we want?)
by LanX (Saint) on Jul 24, 2016 at 10:44 UTC
    From what I understand this approach is wasting resources.

    I don't see the point to return several kb of html with the full node just to let JS parse the votes out. (Except maybe for a prove of concept of DOM manipulation)

    update

    as I already said

    > > > > Adding a new vote-interface shouldn't be harder

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

      From what I understand this approach is wasting resources.

      :) Not that many extra ones that aren't wasted already

      Its very much like hitting talk or refresh in chatterbox

      It is a common viewing pattern to view a node, vote on it, then scroll down, to see a reply you like, vote on it, and so on

      Also common to open a node in a new tab and do the same

      So resource wasting? Not really

      But it doesn't have to do that, code could pick a different node that returns less byes, like 162 bytes

      Or it could simply "cue" votes and cast them every 30 seconds at a cost of under 500 bytes

      as I already said

      as I already agreed :p

        > Its ...

        *It's

        > ... very much like hitting talk or refresh in chatterbox

        The difference here is that CB has not only already plenty of lean alternatives (like sidebar) but also "tickers" which could be called with JS support in the CB nodelet (hence AJAX )

        OTOH no voting ticker yet.

        Cheers Rolf
        (addicted to the Perl Programming Language and ☆☆☆☆ :)
        Je suis Charlie!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1168414]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2025-12-15 15:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (95 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.