Jump to content

Web Browser + Proxomitron Reborn + PtronGUI --- A How-To Guide


Recommended Posts

solved the issue in BNavigator. I removed 360 Chrome explorer due to some issues, then I decided to try other Chromium browsers. Despite that the proxy is properly configured, I still get that message. On some pages I can even bipass it, but not on pages like google.com or twitter.com. I also tried to add the certificates (converted .pem certificates to .pfx) with a provided bat with this code (modified by me)

openssl req -new -x509 -days 365 -nodes -config proxcert.cnf -out proxcert.pfx -keyout proxcert.pem

however, no results. I also added these paramethers to chromium executables, (after the path)

--enable-local-file-accesses --allow-insecure-localhost --allow-running-insecure-content

however, there's no result, still receibe that messages.

Link to comment
Share on other sites


45 minutes ago, Sergiaws said:

--enable-local-file-accesses --allow-insecure-localhost --allow-running-insecure-content

You shouldn't need to add these if you have the correct certificate installed.

The certificate that should be added to the operating system's store is called proxcert_certonly.pem

Also, please note that I could not get Proxomitron Reborn to generate a working certifiate from the original proxcert.pem, I had to create an updated proxcert.pem first and then generate a certificate from that updated proxcert.pem.

Edited by NotHereToPlayGames
Link to comment
Share on other sites

  • 4 weeks later...
On 1/16/2022 at 10:43 AM, NotHereToPlayGames said:

Proxomitron - MSFN - 01-26-2022.zip  ⇦  I suggest this as the best starting point.

This has to be the most bloated config file I've seen for any program using single simple human readable config file. It would take me forever to decipher what the heck they all do.

It seems no rules means it behaves as simple pass-through, so can start from here and just add what I need.

On 1/16/2022 at 10:44 AM, NotHereToPlayGames said:

image.png.a7ae1e1ba8453fb1d2561ab7ac7722c8.png   image.thumb.png.85b6baff9fa6ea007ef41c5d5116be69.png

I went with SHA256 option here since it's the first one that no browser that I use complain about.

BTW, any idea if Proxomitron can shows its own certificate warning page if you encounter the page that doesn't have its certificate in order? I figured I can have only certain URLs accessed via Proxomitron using Proxy Auto-Configuration (PAC) file, so can still get the browser itself to see the status of cert on target website (obviously no possibility of filtering on those sites). When I messed with the program few days ago, I remember seeing list of cached certificates on its status page, hence the question.

Link to comment
Share on other sites

20 minutes ago, UCyborg said:

It would take me forever to decipher what the heck they all do.

Yeah, not for everyone.  I've been using Proxomitron since 2004 and it was first released in 1999.  It used to have a following about 8x that of MSFN but "times have changed".

Link to comment
Share on other sites

Also noticed nobody tested it and put test results of it running under WINE in over a decade, the last are of the final official version by the original author. The program could be useful on other OS.

I'm happy, it helped me access the web app at work on another server with the old rusty Basilisk browser and got the Edge to use local extension repository, so extensions don't update past the versions in there. Can read changelog in peace before updating them while they're installed normally, not via developer mode. Edge ignores my extension updates group policy settings.

Edited by UCyborg
Link to comment
Share on other sites

It's the swiss-army knife of web filtering.

It's "too much" for most people.

Most people are happy with NoScript versus actually being able to EDIT the scripts.

Most people are happy with Stylus for editing css.

Most people are happy with Greasmonkey to inject js/css.

Most people are content with blocking cookies versus filtering the contents inside that cookie.

Et cetera.

And only a very tiny handful of folks want one app to do "all of the above".

 

The cipher bit is over my head.  The original Proxomitron was created by Scott Lemon in 1999.  Proxomitron Reborn was created by "amy" a few years ago and it's still in its infancy.

Cloudfare "capchas" cannot be handled by XP + Proxomitron.  Not sure if that can be fixed by "amy" or not.

Link to comment
Share on other sites

FYI - this web site only allows 1.95 MB for attachments and I'm at 1.92 MB.

I will be deleting all attachments in this thread this coming weekend to free up my allocated attachment space.

So if anybody needs the content archived, please do so now, I will not be keeping attachments for anybody that comes along and asks for them "six months from now".

Link to comment
Share on other sites

I got almost 50 MB since donation. Looks like I've attached mostly images in my earlier days here before I realized it's better to use external hosting. Wanted to migrate them all that are still attachments at some point, but haven't got around to it yet.

For general file sharing, I tend to use Google Drive. I used Dropbox before for that purpose, before I realized one file I shared was too popular and it wouldn't download for people - Dropbox said it's generating too much traffic. Nobody complained though, probably because Dropbox download link wasn't the only one I shared.

Link to comment
Share on other sites

  • 4 weeks later...

GUI limitation, can't input byte limit greater than 32767 for web page filter. Can be edited directly in CFG.

BTW, this topic doesn't strike me as belonging to this sub-forum - it's not a web browser and works on most Windows OS I think, certainly it's not a derivative of other version of the program exclusive to modern OS. Maybe in Web Browsers since it's related to web browsing.

@Dave-H, @Tripredacus, @dencorso ?

Link to comment
Share on other sites

I'm unable to get the following rules to work, built-in test shows correct output, but in practice, they just won't budge.

[Patterns]
Name = "Reddit - comments page regex 1"
Active = TRUE
URL = "www.redditstatic.com/desktop2x/CommentsPage.*.js"
Limit = 127300
Match = "/\(\?:reddit\\.com\\/r\\/\)\(\?<subreddit>\[\\w\]\+\)\(\?:\\/comments\\/\)\?\(\?<postId>\[\\w\]\+\)\?/"
Replace = "/\(\?:reddit\\.com\\/r\\/\)\(\[\\w\]\+\)\(\?:\\/comments\\/\)\?\(\[\\w\]\+\)\?/"

Name = "Reddit - comments page regex 2"
Active = TRUE
URL = "www.redditstatic.com/desktop2x/CommentsPage.*.js"
Limit = 127700
Match = "var s;const{subreddit:o,postId:r}=\(null===\(s=t.match\(i\)\)\|\|void 0===s\?void 0:s.groups\)\|\|{};"
Replace = "const s=t.match\(i\),o=null===s\[1\]\?void 0:s\[1\],r=null===s\[2\]\?void 0:s\[2\];"

They're supposed to replace:

/(?:reddit\.com\/r\/)(?<subreddit>[\w]+)(?:\/comments\/)?(?<postId>[\w]+)?/
/(?:reddit\.com\/r\/)([\w]+)(?:\/comments\/)?([\w]+)?/

And:

var s;const{subreddit:o,postId:r}=(null===(s=t.match(i))||void 0===s?void 0:s.groups)||{};
const s=t.match(i),o=null===s[1]?void 0:s[1],r=null===s[2]?void 0:s[2];

1st line is original, 2nd is replacement.

URL to the target file: https://www.redditstatic.com/desktop2x/CommentsPage.c501be48b07ce588906d.js

Edited by UCyborg
Link to comment
Share on other sites

On 4/27/2022 at 9:01 AM, UCyborg said:

I'm unable to get the following rules to work, built-in test shows correct output, but in practice, they just won't budge.

Just caught this message.  I'm curious so I'll take a stab later today or so.  My initial hunch is that you have to 'escape' the "=" characters.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...