edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [Edbrowse-dev] amazon and its JS
@ 2018-01-13  0:12 Kevin Carhart
  2018-01-13 14:11 ` Karl Dahlke
  0 siblings, 1 reply; 6+ messages in thread
From: Kevin Carhart @ 2018-01-13  0:12 UTC (permalink / raw)
  To: edbrowse-dev



I haven't weighed in on amazon lately, because I can't get it to budge.  I 
consistently get kicked back to the login screen.

For lack of any progress on the HTTP sessions, I have gone back to 
javascript and am trying to tackle those two JS runtimes.
Also (and related) the events code is in an unfinished state - I'm sorry 
for starting this and not following through yet, and thank you Karl for 
what you implemented on events recently.

In a while, if not right away, the events code is going to be relevant to 
amazon.com.  Especially this certain phrasing where one central 
listener/dispatcher sits on document on document.body, and events bubble 
up from various elements and kick it off.  I think that is a common 
phrasing.  Amazon uses a lot of everything.  I noticed that they use 
document.cookie.

Here is a specific question.  What would happen if page code wants to 
overload window.alert?  This happens in amazon document.scripts[4].data:


amazon4.js:(function(a){var 
b=a.alert;window.alert=function(){a.ueLogError&&a.ueLogError({message:"[CSM] 
Alert invocation detected with argument: 
"+arguments[0],logLevel:"WARN"});Function.prototype.apply.apply(b,[a,arguments||[]])}})(window);


thanks
Kevin


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-01-13 22:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-13  0:12 [Edbrowse-dev] amazon and its JS Kevin Carhart
2018-01-13 14:11 ` Karl Dahlke
2018-01-13 15:55   ` Chuck Hallenbeck
2018-01-13 16:27     ` Dominique Martinet
2018-01-13 17:12       ` Dominique Martinet
2018-01-13 22:06       ` Karl Dahlke

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).