Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #29756

Re: How to apply the user's HTML environment in a Python programme?

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'interpreter': 0.04; 'subject:Python': 0.05; 'distributing': 0.07; 'pages.': 0.07; 'subject:How': 0.09; "client's": 0.09; 'imply': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'sep': 0.09; "wouldn't": 0.11; 'sat,': 0.15; 'hmm.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'skip:f 90': 0.16; 'subject:user': 0.16; 'window;': 0.16; 'systems.': 0.18; '(or': 0.18; 'java': 0.21; 'machine.': 0.22; 'runs': 0.22; 'example': 0.23; 'amazon': 0.24; 'pages,': 0.27; 'header:X-Complaints-To:1': 0.28; '(since': 0.29; 'running.': 0.29; 'source': 0.29; "i'm": 0.29; 'running': 0.32; "aren't": 0.33; 'url:home': 0.33; 'to:addr:python-list': 0.33; 'skip:f 40': 0.35; 'subject:?': 0.35; 'received:org': 0.36; 'but': 0.36; 'charset:us-ascii': 0.36; 'subject:: ': 0.38; 'some': 0.38; 'page': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'first': 0.61; 'virus:</script': 0.63; 'virus:<script': 0.63; 'ever': 0.63; 'visit': 0.64; 'talking': 0.66; 'sounds': 0.71; "(don't": 0.84; 'proposal:': 0.84; 'dennis': 0.91; 'good,': 0.91; 'received:108': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: How to apply the user's HTML environment in a Python programme?
Date Sat, 22 Sep 2012 11:18:10 -0400
Organization > Bestiaria Support Staff <
References <4382e132-4eb5-4733-9fed-535e704f2175@googlegroups.com> <mailman.1006.1348233763.27098.python-list@python.org> <b6b4f390-1f33-452d-9d78-5681f4557d96@googlegroups.com> <CADwdpyZ1Px8=m3JO18acvRf0YOB5TffQY_p15bu4rmb8D-hpeA@mail.gmail.com> <mailman.1033.1348258203.27098.python-list@python.org> <6c7b7ada-1bc7-4eff-abba-301c6c3f2258@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-108-79-219-15.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 3.3/32.846
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1082.1348327100.27098.python-list@python.org> (permalink)
Lines 36
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1348327100 news.xs4all.nl 6990 [2001:888:2000:d::a6]:52516
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:29756

Show key headers only | View raw


On Sat, 22 Sep 2012 04:38:08 -0700 (PDT), BobAalsma
<overhaalsgang_24_bob@me.com> declaimed the following in
gmane.comp.python.general:

> 
> Wulfraed, yes, as with David's proposal: this sounds good, but I wouldn't know the first thing about Javascript... 
> I'm also concerned that both solutions would seem to imply distributing software (or "software") to the clients systems.
> Hmm.
>

	Unless your clients are running some ancient text-only browser, they
already have the Javascript interpreter running. We aren't talking about
downloading a Java program that then runs as a process on the client's
machine. If your client's ever visit (since I have it up at the moment)
the Amazon forum pages, they are already running Javascript pages.

	Here's the start of the page source as an example (don't ask me what
it does):

<html>
<head>
<script type="text/javascript">/* <![CDATA[ */var ue_t0=ue_t0||+new
Date();/* ]]> */</script>
<script type='text/javascript'>/* <![CDATA[ */
var ue_wl_jserr = 1,
ue_csm = window;
(function(a){a.ue_err={ec:0,pec:0,ts:0,erl:[],mxe:50,startTimer:function(){a.ue_err.ts++;setInterval(function(){a.ue&&(a.ue_err.pec<a.ue_err.ec)&&a.uex("at");a.ue_err.pec=a.ue_err.ec},10000)}};a.ueLogError=(function(){function
b(c,e,d){if(a.ue_err.ec>a.ue_err.mxe){return}a.ue_err.ec++;a.ue.log({m:c,f:e,l:d,s:""},"jserr");return
false}if(a.ue_wl_jserr){window.onerror=b}return
function(c){if(a.ue_err.ec>a.ue_err.mxe){return}a.ue_err.ec++;a.ue_err.erl.push(c)}})()})(ue_csm);

/* ]]> */</script>
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 05:57 -0700
  Re: How to apply the user's HTML environment in a Python programme? Joel Goldstick <joel.goldstick@gmail.com> - 2012-09-21 09:22 -0400
    Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 06:31 -0700
      Re: How to apply the user's HTML environment in a Python programme? Jerry Hill <malaclypse2@gmail.com> - 2012-09-21 09:36 -0400
        Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 06:58 -0700
        Re: How to apply the user's HTML environment in a Python programme? Joel Goldstick <joel.goldstick@gmail.com> - 2012-09-21 10:15 -0400
          Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-10-01 07:19 -0700
            Re: How to apply the user's HTML environment in a Python programme? Ramchandra Apte <maniandram01@gmail.com> - 2012-10-02 09:17 -0700
        Re: How to apply the user's HTML environment in a Python programme? Peter Otten <__peter__@web.de> - 2012-09-21 16:33 +0200
      Re: How to apply the user's HTML environment in a Python programme? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-21 16:09 -0400
        Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:38 -0700
          Re: How to apply the user's HTML environment in a Python programme? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-22 11:18 -0400
        Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:38 -0700
    Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-21 06:31 -0700
  Re: How to apply the user's HTML environment in a Python programme? David Smith <davids@invtools.com> - 2012-09-21 11:28 -0400
    Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:34 -0700
    Re: How to apply the user's HTML environment in a Python programme? BobAalsma <overhaalsgang_24_bob@me.com> - 2012-09-22 04:34 -0700
  Re: How to apply the user's HTML environment in a Python programme? Thomas Jollans <t@jollybox.de> - 2012-09-22 14:01 +0200

csiph-web