edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Adam Thompson <arthompson1990@gmail.com>
To: Karl Dahlke <eklhad@comcast.net>
Cc: Edbrowse-dev@lists.the-brannons.com
Subject: Re: [Edbrowse-dev] noscript
Date: Fri, 21 Feb 2014 12:05:17 +0000	[thread overview]
Message-ID: <20140221120517.GW28870@toaster.adamthompson.me.uk> (raw)
In-Reply-To: <20140121044117.eklhad@comcast.net>

On Fri, Feb 21, 2014 at 04:41:17AM -0500, Karl Dahlke wrote:
> > However I think displaying the contents of the noscript tags if js is already
> > dead makes sense, since if we have a js failure,
> > it'd then be possible to refresh the page to get the noscript contents.
> 
> When you refresh the page you "quit" the old page.
> That frees the js context.
> Then the new page gets a new js context and js is working again.
> It would then likely run into the same error.
> You have to specifically turn off js first, then refresh.
> But yes you could do that.

Yeah, I forgot to say it'd be:
js
rf

rather than just:
rf

> 
> I can't help wonder if this feature would be annoying,
> there are lots of sites like Google that I run all the time without js,
> it saves time and errors and the site runs just as well.
> 
> nojs = partner.googleadservices.com
> nojs = google.com
> nojs = googlesyndication.com
> nojs = google-analytics.com
> 
> Do I really want to read all those noscript messages every time?
> 
> Your browser is not javascript enabled.
> This site will not perform optimally under these conditions.
> To access all the features of this site, please turn on javascript.
> Here are directions on how to do so.
> Blah Blah blah for each browser.

They appear on plenty of sites anyway if js doesn't run correctly.
I'm not sure how, probably by altering the contents of a particular tag if js
runs but initialising it with the non-js error,
or setting something to invisible in js.
> 
> Do I really want to read through that every time I access Google,
> or any other site that I have determines runs fine without javascript?
> I'm not trying to be contrary here, just thinking of
> all the ramifications of turning noscript on.
> Or maybe noscript runs if js is dead,
> but not for the nojs commands in the config file,
> because I have already determined it's ok to run those sites without js.

In this case, what about for sites where you want js off but noscript on?  How about:
- add a flag saying if we want the noscript tags
- this is enabled by default in *all* cases where js is disabled
- have some way of disabling it for certain sites 
- also have a command to disable it globally which can then go in someone's init function

At the end of the day, my personal opinion is that noscript is (or certainly was) a suggested
mechanism for web developers to handle browsers without javascript support and
edbrowse should probably use this by default if it isn't going to try and run
the javascript.
However, as you say, in some cases these messages are just annoying and should
be switched off.  However, I think it should be a user's choice, particularly as there are cases where the web developers have actually used the noscript tags to do helpful things like provide non-js functionality.

Cheers,
Adam.

  reply	other threads:[~2014-02-21 12:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-21  9:41 Karl Dahlke
2014-02-21 12:05 ` Adam Thompson [this message]
2014-02-21 12:46 Karl Dahlke
2014-02-21 18:59 ` Adam Thompson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140221120517.GW28870@toaster.adamthompson.me.uk \
    --to=arthompson1990@gmail.com \
    --cc=Edbrowse-dev@lists.the-brannons.com \
    --cc=eklhad@comcast.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).