Re: Ancilliary server accesses by browser.

2020-03-30 Thread peter
From: David Wright 
Date: Fri, 20 Mar 2020 20:23:19 -0500
> I don't know what behaviour/issue you're chasing down, so I'll just
> post how I typically save web pages.

>From the original message,
> Opening a Web page can cause a browser to refer to an ancilliary 
> server; 
> ... I'm interested to log these accesses in a file. 

And dsr answered,
> Firefox and Chrome both have developer tools which will start
> and stop such logging for you; look in their menus under Web
> Developer (FF) and More Tools > Developer Tools (Chrome).

That opens a report below the Web view.  My description won't do it 
jusrtice but, if you have Firefox, clicking Web Developer > Network 
requires only a few ms.  "A picture is worth a million words."

From: David Wright 
> 4) Extended screenshot. RightClick on page, select Take a Screenshot,
>click on Save Full Page, click on Download.

That works on the Web view.  A right click on the Network report has 
no effect.

I'll make do with a plain old shot of the whole screen.

> I'm not familiar with HAR, so I googled it. The wiki page has external
> references, one of which points to https://www.youtube.com/watch?v=FmsLJHikRf8
> Does this help?

Limited connectivity now.  Will look at the video when conditions improve.  

HAR and JSON are secondary to my question.  I wondered whether the HAR 
file contained the same information as the Network display.  To the 
best of my understanding HAR abbreviates HTML archive.  Apparently 
recorded in JSON.  https://en.wikipedia.org/wiki/JSON

Footnote: seems the old References are too old for the list software to 
link the thread.

Regards,  ... P.


-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140Bcc: peter at easthope. ca



Re: Ancilliary server accesses by browser.

2020-03-20 Thread David Wright
On Fri 20 Mar 2020 at 09:15:58 (-0700), pe...@easthope.ca wrote:
> From: Dan Ritter 
> Date: Mon, 9 Sep 2019 18:31:17 -0400
> > Firefox and Chrome both have developer tools which will start
> > and stop such logging for you; look in their menus under Web
> > Developer (FF) ...
> 
> Thanks.  That produces a nice display.  It can be printed from a 
> screenshot but for many Web pages the report won't fit on one screen.  
> Therefore I wonder about a more direct means to get a hardcopy report.  
> These are instructions found by Google. 
> 
> 1. Go to Menu > Web Developer > Network.
> 2. Reload the page you want to get the log for.
> 3. Perform the steps to cause the behavior/issue.
> 4. Right click > Save All as HAR.
> 5. Click on Console tab > Select All.
> 6. Right-Click > Copy Message, and paste it / save on a . txt file.
> 
> Makes sense down to 5.  That selects a panel of the display but I want 
> a hardcopy similar to the screen after step 3. Ideas?
> 
> Syntax of the HAR file is JSON.  How is a HAR normally used?

I'm not familiar with HAR, do I googled it. The wiki page has external
references, one of which points to https://www.youtube.com/watch?v=FmsLJHikRf8
Does this help?

I don't know what behaviour/issue you're chasing down, so I'll just
post how I typically save web pages.

1) Basic screenshot with scrot, producing a PNG/JPG/TIFF. Limited area.

2) ^P to print the page. Works well for pages produced by 'serious'
   people, but often unsatisfactory for pages with a high 'coo factor'.
   Pagination can be flaky.

3) When only the text is interesting, copy and paste with ^A^C in the
   browser, and Paste as appropriate in your favourite editor, ready
   for any tidying up.

   When you hit ^A (select all), check that everything you want has
   been selected (reverse video). There may be things, like tweet
   panels, that get omitted.

4) Extended screenshot. RightClick on page, select Take a Screenshot,
   click on Save Full Page, click on Download.

   The resulting file might be a PNG or JPG, possibly depending on
   the proportion of image content. FF might fail with an error,
   or fail silently, when too complicated.

   Some application can't read such a tall file. Ones that often do:
   gpicview, mupdf, xzgv. The last is easiest to navigate by keyboard.

Perhaps something here will work for you.

Cheers,
David.



Re: Ancilliary server accesses by browser.

2020-03-20 Thread peter
From: Dan Ritter 
Date: Mon, 9 Sep 2019 18:31:17 -0400
> Firefox and Chrome both have developer tools which will start
> and stop such logging for you; look in their menus under Web
> Developer (FF) ...

Thanks.  That produces a nice display.  It can be printed from a 
screenshot but for many Web pages the report won't fit on one screen.  
Therefore I wonder about a more direct means to get a hardcopy report.  
These are instructions found by Google. 

1. Go to Menu > Web Developer > Network.
2. Reload the page you want to get the log for.
3. Perform the steps to cause the behavior/issue.
4. Right click > Save All as HAR.
5. Click on Console tab > Select All.
6. Right-Click > Copy Message, and paste it / save on a . txt file.

Makes sense down to 5.  That selects a panel of the display but I want 
a hardcopy similar to the screen after step 3. Ideas?

Syntax of the HAR file is JSON.  How is a HAR normally used?

Thanks! ... Peter E.

-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140Bcc: peter at easthope. ca



Re: Ancilliary server accesses by browser.

2019-09-09 Thread peter
From: John Hasler 
Date: Mon, 09 Sep 2019 18:43:24 -0500
> I'd use tcpdump.

Will keep in mind.

Thanks John,  ... P.

-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140Bcc: peter at easthope. ca



Re: Ancilliary server accesses by browser.

2019-09-09 Thread peter
From: Dan Ritter 
Date: Mon, 9 Sep 2019 18:31:17 -0400
> Firefox and Chrome both have developer tools which will start
> and stop such logging for you; look in their menus under Web
> Developer (FF) and More Tools > Developer Tools (Chrome).

Good, thanks,   ... P.

-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140Bcc: peter at easthope. ca



Re: Ancilliary server accesses by browser.

2019-09-09 Thread John Hasler
I'd use tcpdump.
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Re: Ancilliary server accesses by browser.

2019-09-09 Thread Dan Ritter
pe...@easthope.ca wrote: 
> Opening a Web page can cause a browser to refer to an ancilliary 
> server; for a font or to report an access for analysis. The activity 
> is indicated by the URLs displayed briefly in the lower left corner of 
> the firefox window for example.
> 
> I'm interested to log these accesses in a file.  Wireshark is a 
> good possibility?  Is there a configuration template for this?  
> Suggestions?

Firefox and Chrome both have developer tools which will start
and stop such logging for you; look in their menus under Web
Developer (FF) and More Tools > Developer Tools (Chrome).

-dsr-