Groups | Search | Server Info | Login | Register


Groups > comp.misc > #26196

Re: terminal only for two weeks

From D <nospam@example.net>
Newsgroups comp.misc
Subject Re: terminal only for two weeks
Date 2024-11-27 10:54 +0100
Organization i2pn2 (i2pn.org)
Message-ID <4875e490-ad30-d644-345f-4a09c1935c6b@example.net> (permalink)
References (1 earlier) <vi3ecs$35u53$1@dont-email.me> <6c4ae24b-7bb8-7d84-8f74-1f5fc14c0ec0@example.net> <87ed2yjkl8.fsf@tilde.institute> <55db8483-58f0-c3dc-de0b-7f44881fa180@example.net> <87jzcp4pzy.fsf@enoch.nodomain.nowhere>

Show all headers | View raw



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.

Back to comp.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

terminal only for two weeks Retrograde <fungus@amongus.com.invalid> - 2024-11-25 13:34 +0000
  Re: terminal only for two weeks D <nospam@example.net> - 2024-11-25 22:18 +0100
  Re: terminal only for two weeks Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-25 21:52 +0000
    Re: terminal only for two weeks Mike Spencer <mds@bogus.nodomain.nowhere> - 2024-11-26 03:18 -0400
      Re: terminal only for two weeks Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-26 21:28 +0000
    Re: terminal only for two weeks yeti <yeti@tilde.institute> - 2024-11-26 09:22 +0042
      Re: terminal only for two weeks Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-26 21:24 +0000
    Re: terminal only for two weeks candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-11-30 01:20 +0000
      Re: terminal only for two weeks yeti <yeti@tilde.institute> - 2024-11-30 04:22 +0042
        Re: terminal only for two weeks candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-12-01 20:40 +0000
      Re: terminal only for two weeks Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-30 03:52 +0000
        Re: terminal only for two weeks candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-12-01 20:40 +0000
          Re: terminal only for two weeks Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-12-01 23:24 +0000
            Re: terminal only for two weeks candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-12-02 02:00 +0000
              Re: terminal only for two weeks Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-12-02 05:41 +0000
  Re: terminal only for two weeks John McCue <jmccue@qball.jmcunx.com> - 2024-11-26 03:13 +0000
    Re: terminal only for two weeks D <nospam@example.net> - 2024-11-26 10:22 +0100
      Re: terminal only for two weeks yeti <yeti@tilde.institute> - 2024-11-26 12:15 +0042
        Re: terminal only for two weeks D <nospam@example.net> - 2024-11-26 16:36 +0100
          Re: terminal only for two weeks not@telling.you.invalid (Computer Nerd Kev) - 2024-11-27 07:52 +1000
            Re: terminal only for two weeks D <nospam@example.net> - 2024-11-27 10:51 +0100
              Re: terminal only for two weeks not@telling.you.invalid (Computer Nerd Kev) - 2024-11-28 06:44 +1000
                Re: terminal only for two weeks yeti <yeti@tilde.institute> - 2024-11-28 05:54 +0042
                Re: terminal only for two weeks D <nospam@example.net> - 2024-11-28 10:52 +0100
                Re: terminal only for two weeks not@telling.you.invalid (Computer Nerd Kev) - 2024-11-29 06:17 +1000
                Re: terminal only for two weeks D <nospam@example.net> - 2024-11-28 22:05 +0100
                Re: terminal only for two weeks yeti <yeti@tilde.institute> - 2024-11-29 02:19 +0042
                Re: terminal only for two weeks D <nospam@example.net> - 2024-11-29 10:38 +0100
                Re: terminal only for two weeks D <nospam@example.net> - 2024-11-29 22:39 +0100
          Re: terminal only for two weeks Mike Spencer <mds@bogus.nodomain.nowhere> - 2024-11-26 17:57 -0400
            Re: terminal only for two weeks D <nospam@example.net> - 2024-11-27 10:54 +0100
              Re: terminal only for two weeks Mike Spencer <mds@bogus.nodomain.nowhere> - 2024-11-28 01:41 -0400
                Re: terminal only for two weeks Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-11-28 06:42 +0000
                Re: terminal only for two weeks D <nospam@example.net> - 2024-11-28 10:56 +0100
                URIs within URIs: google.com/url?q= et al. Ivan Shmakov <ivan@siamics.netREMOVE.invalid> - 2024-12-20 18:42 +0000
                Re: URIs within URIs: google.com/url?q= et al. Andy Burns <usenet@andyburns.uk> - 2024-12-20 19:03 +0000
                Re: URIs within URIs: google.com/url?q= et al. Mike Spencer <mds@bogus.nodomain.nowhere> - 2024-12-22 01:39 -0400
            Re: terminal only for two weeks Oregonian Haruspex <no_email@invalid.invalid> - 2024-12-04 06:11 +0000
              Re: terminal only for two weeks Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-12-04 06:42 +0000
                Re: terminal only for two weeks candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2024-12-04 14:30 +0000
                Re: terminal only for two weeks Lawrence D'Oliveiro <ldo@nz.invalid> - 2024-12-05 01:46 +0000
                Re: terminal only for two weeks not@telling.you.invalid (Computer Nerd Kev) - 2024-12-08 07:52 +1000
                Re: terminal only for two weeks root <NoEMail@home.org> - 2024-12-08 14:11 +0000
                Re: terminal only for two weeks Bozo User <anthk@disroot.org> - 2025-01-12 23:01 +0000
                Re: terminal only for two weeks D <nospam@example.net> - 2025-01-13 10:46 +0100
                Re: terminal only for two weeks not@telling.you.invalid (Computer Nerd Kev) - 2025-01-14 06:52 +1000
                Re: terminal only for two weeks D <nospam@example.net> - 2025-01-14 18:54 +0100
                web Ivan Shmakov <ivan@siamics.netREMOVE.invalid> - 2025-01-16 07:55 +0000
                Re: web not@telling.you.invalid (Computer Nerd Kev) - 2025-01-17 07:10 +1000
                Re: web yeti <yeti@tilde.institute> - 2025-01-17 04:58 +0042
                Re: web Ivan Shmakov <ivan@siamics.netREMOVE.invalid> - 2025-01-18 14:05 +0000
                Re: web not@telling.you.invalid (Computer Nerd Kev) - 2025-01-19 09:09 +1000
                Re: web candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-01-29 20:10 +0000
                Re: web Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-02-04 21:42 +0000
                Re: web Ben Collver <bencollver@tilde.pink> - 2025-01-19 14:47 +0000
                Re: web yeti <yeti@tilde.institute> - 2025-01-19 16:14 +0042
                Re: web snipeco.2@gmail.com (Sn!pe) - 2025-01-19 16:05 +0000
                Re: web Ivan Shmakov <ivan@siamics.netREMOVE.invalid> - 2025-01-19 19:15 +0000
                Re: web Ben Collver <bencollver@tilde.pink> - 2025-01-20 15:37 +0000
                Re: web Ivan Shmakov <ivan@siamics.netREMOVE.invalid> - 2025-01-24 18:45 +0000
                Re: web news@zzo38computer.org.invalid - 2025-01-20 11:23 -0800
                Re: web Dave Yeo <dave.r.yeo@gmail.com> - 2025-01-16 18:04 -0800
                Re: terminal only for two weeks Bozo User <anthk@disroot.org> - 2025-01-12 23:01 +0000
                Re: terminal only for two weeks yeti <yeti@tilde.institute> - 2024-12-05 06:34 +0042
                Re: terminal only for two weeks yeti <yeti@tilde.institute> - 2025-01-16 11:42 +0042
  Re: terminal only for two weeks Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2024-11-28 12:45 +0200
  Re: terminal only for two weeks Bozo User <anthk@disroot.org> - 2025-01-12 23:01 +0000
    Re: terminal only for two weeks Salvador Mirzo <smirzo@example.com> - 2025-01-12 22:03 -0300
      Re: terminal only for two weeks D <nospam@example.net> - 2025-01-13 10:48 +0100
        Re: terminal only for two weeks Salvador Mirzo <smirzo@example.com> - 2025-01-13 16:24 -0300
          Re: terminal only for two weeks D <nospam@example.net> - 2025-01-14 18:50 +0100
          Re: terminal only for two weeks Salvador Mirzo <smirzo@example.com> - 2025-01-15 22:10 -0300
            Re: terminal only for two weeks Rich <rich@example.invalid> - 2025-01-16 04:15 +0000
            Re: terminal only for two weeks Computer Nerd Kev <not@telling.you.invalid> - 2025-01-16 15:58 +1000
            Re: terminal only for two weeks Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-01-21 05:31 +0000
            Re: terminal only for two weeks Ivan Shmakov <ivan@siamics.netREMOVE.invalid> - 2025-01-23 19:33 +0000
              Re: terminal only for two weeks Salvador Mirzo <smirzo@example.com> - 2025-02-12 13:12 -0300
                Re: terminal only for two weeks Jerry Peters <jerry@example.invalid> - 2025-02-16 20:55 +0000
                Re: terminal only for two weeks Salvador Mirzo <smirzo@example.com> - 2025-02-16 22:54 -0300
                Re: terminal only for two weeks Salvador Mirzo <smirzo@example.com> - 2025-02-16 22:56 -0300
                Re: terminal only for two weeks Lawrence D'Oliveiro <ldo@nz.invalid> - 2025-02-17 03:41 +0000
                Re: terminal only for two weeks Salvador Mirzo <smirzo@example.com> - 2025-02-19 13:02 -0300
                Re: terminal only for two weeks kludge@panix.com (Scott Dorsey) - 2025-02-17 22:18 +0000
                Re: terminal only for two weeks Salvador Mirzo <smirzo@example.com> - 2025-02-19 13:03 -0300

csiph-web