Re: terminal only for two weeks

Liste des GroupesRevenir à c misc 
Sujet : Re: terminal only for two weeks
De : nospam (at) *nospam* example.net (D)
Groupes : comp.misc
Date : 27. Nov 2024, 10:54:50
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <4875e490-ad30-d644-345f-4a09c1935c6b@example.net>
References : 1 2 3 4 5 6
On Tue, 26 Nov 2024, Mike Spencer wrote:

>
D <nospam@example.net> writes:
>
On Tue, 26 Nov 2024, yeti wrote:
>
   <https://www.brow.sh/>
>
Ah yes... I've seen this before! I did drop it due to its dependency on
FF, but the concept is similar. My idea was to aggressively filter a web
page before passing it on to elinks or similar.
>
Perhaps rewriting it a bit in order to avoid the looooooong list of menu
options or links that always come up at the top of the page, before the
content of the page shows after a couple of page downs (this happens for
instance if I go to wikipedia).
>
Instead parsing it, and adding those links at the bottom, removing
javascript, and perhaps passing on only the text. Well, those are only
ideas. Maybe I'll try, maybe I won't. Time will tell! =)
>
I've done this for a few individual sites that I visit frequently.
>
 + A link to that site resides on my browser's "home" page.
>
 + That home page is a file in ~/html/ on localhost.
>
 + The link is actually to a target-specific cgi-bin Perl script on
   localhost where Apache is running, restricted to requests from
   localhost.
>
 + The script takes the URL sent from the home page, rewrites it for
   the routable net, sends it to the target using wget and reads all
   of the returned data into a variable.
>
 + Using Perl's regular expressions, stuff identified (at time of
   writing the script) as unwanted is elided -- js, style, svg,
   noscript etc.  URLs self-referencing the target are rewritten to
   to be sent through the cgi-bin script.
>
 + Other tweaks peculiar to the specific target...
>
 + Result is handed back to the browser preceded by minimal HTTP
   headers.
>
So far, works like a charm.  Always the potential that a target host
will change their format significantly.  That has happened a couple of
times, requiring fetching an unadorned copy of the target's page,
tedious reading/parsing and edit to the script.
>
This obviously doesn't work for those sites that initially send a
dummy all-js page to verify that you have js enabled and send you a
condescending reproof if you don't.  Other server-side dominance games
a potential challenge or a stone wall.
>
Writing a generalized version, capable of dealing with pages from
random/arbitrary sites is a notion perhaps worth pursuing but clearly
more of a challenge than site-specific scripts. RSN, round TUIT etc.
Brilliant! You are a poet Mike!
Frogfind.com was a great start! I would love to have some kind of crowd sourced html5->html1 - javascript - garbage script.
I also wondered if another approach might just be to take the top 500 sites and base it on that? Or even looking through my own history, take the top 100.
Due to the bad development of the net, it seems like a greater and greater part of our browsing takes place on ever fewer numbers of sites.

Date Sujet#  Auteur
25 Nov 24 * terminal only for two weeks45Retrograde
25 Nov 24 +- Re: terminal only for two weeks1D
25 Nov 24 +* Re: terminal only for two weeks13Lawrence D'Oliveiro
26 Nov 24 i+* Re: terminal only for two weeks2Mike Spencer
26 Nov 24 ii`- Re: terminal only for two weeks1Lawrence D'Oliveiro
26 Nov 24 i+* Re: terminal only for two weeks2yeti
26 Nov 24 ii`- Re: terminal only for two weeks1Lawrence D'Oliveiro
30 Nov 24 i`* Re: terminal only for two weeks8candycanearter07
30 Nov 24 i +* Re: terminal only for two weeks2yeti
1 Dec 24 i i`- Re: terminal only for two weeks1candycanearter07
30 Nov 24 i `* Re: terminal only for two weeks5Lawrence D'Oliveiro
1 Dec 24 i  `* Re: terminal only for two weeks4candycanearter07
2 Dec 24 i   `* Re: terminal only for two weeks3Lawrence D'Oliveiro
2 Dec 24 i    `* Re: terminal only for two weeks2candycanearter07
2 Dec 24 i     `- Re: terminal only for two weeks1Lawrence D'Oliveiro
26 Nov 24 +* Re: terminal only for two weeks29John McCue
26 Nov 24 i`* Re: terminal only for two weeks28D
26 Nov 24 i `* Re: terminal only for two weeks27yeti
26 Nov 24 i  `* Re: terminal only for two weeks26D
26 Nov 24 i   +* Re: terminal only for two weeks10Computer Nerd Kev
27 Nov 24 i   i`* Re: terminal only for two weeks9D
27 Nov 24 i   i `* Re: terminal only for two weeks8Computer Nerd Kev
28 Nov 24 i   i  +- Re: terminal only for two weeks1yeti
28 Nov 24 i   i  `* Re: terminal only for two weeks6D
28 Nov 24 i   i   `* Re: terminal only for two weeks5Computer Nerd Kev
28 Nov 24 i   i    +- Re: terminal only for two weeks1D
29 Nov 24 i   i    `* Re: terminal only for two weeks3yeti
29 Nov 24 i   i     `* Re: terminal only for two weeks2D
29 Nov 24 i   i      `- Re: terminal only for two weeks1D
26 Nov 24 i   `* Re: terminal only for two weeks15Mike Spencer
27 Nov 24 i    +* Re: terminal only for two weeks7D
28 Nov 24 i    i`* Re: terminal only for two weeks6Mike Spencer
28 Nov 24 i    i +- Re: terminal only for two weeks1Lawrence D'Oliveiro
28 Nov 24 i    i +- Re: terminal only for two weeks1D
20 Dec19:42 i    i `* URIs within URIs: google.com/url?q= et al.3Ivan Shmakov
20 Dec20:03 i    i  +- Re: URIs within URIs: google.com/url?q= et al.1Andy Burns
22 Dec06:39 i    i  `- Re: URIs within URIs: google.com/url?q= et al.1Mike Spencer
4 Dec 24 i    `* Re: terminal only for two weeks7Oregonian Haruspex
4 Dec 24 i     `* Re: terminal only for two weeks6Lawrence D'Oliveiro
4 Dec 24 i      `* Re: terminal only for two weeks5candycanearter07
5 Dec 24 i       +* Re: terminal only for two weeks3Lawrence D'Oliveiro
7 Dec 24 i       i`* Re: terminal only for two weeks2Computer Nerd Kev
8 Dec 24 i       i `- Re: terminal only for two weeks1root
5 Dec 24 i       `- Re: terminal only for two weeks1yeti
28 Nov 24 `- Re: terminal only for two weeks1Anssi Saari

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal