The Un-Official Proxomitron Forum

Full Version: Your browser is no longer supported.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hey fellow Proxomitron users! I hope you are doing well.

If you don't that's OK, but I'm wondering if there's anybody out there who has any "fake user-agent" ideas for me for Youtube. Yeah, I'm one of those folks who has refused to upgrade browsers (I'm revolting, lol) because it seems to me that with every new upgrade, we're losing more and more of our privacy. And so, well, I stopped upgrading at Firefox and Opera 9.64 and y'know what, it's been great. My browsers are setup just the way I like them so I can do my reading and get my news. Simple. No problem. BTW: I think Firefox version is a little better than version, but that's a whole other discussion and we don't have time to chase that rabbit today. :-)

But, here's the problem and my question. There are consequences to not upgrading. For example, at Youtube I'm getting the message, "Your browser is no longer supported. Please upgrade to a modern browser," and they've made it hard to login. Of course, I understand that I will eventually have to install one of the newer browsers for situations like this. It's just a matter of time. But, do you think it is possible that I can trick them for a little while longer with a fake user-agent in Exceptions-U? A user-agent that will make them think I upgraded? Well, that's my question. Thanks for listening. Best to you.
Try adding

[^/]$SET(0=f_ua_§Mozilla/5%2e0 (Windows; U; Windows NT 6%2e1; en-US; rv:1%2e9%2e2%2e11) Gecko/20101012 Firefox/3%2e6%2e9%2e9.)

to Exceptions-U.

I'll give it a try, but before I add the fake user agent for Youtube into Exceptions-U, I wanted to first ask you if it will effect the default Youtube entry that's already in Exceptions. That is, this entry:

# Suppress Welcome box, default to HQ videos, ...$SET(sCookieP...l=en&vq=2)

Will there be any conflict having a youtube entry in Exceptions-U and Exceptions? Thanks again. Appreciate it.
Having one entry for youtube in Exceptions-U and one in Exceptions should be OK.

Having more than one entry for youtube in Exceptions-U or
having more than one entry for youtube in Exceptions could be a problem.

I tested it. Seemed to work.

Have fun

BTW, I have


You have


"i_popup_b:0." old set or is there a problem at youtube with blocked popups?
OK, an observation with a follow up question:

1.) The user agent you provided works JJoe! videos play great and I'm not getting "Your browser is no longer supported" messages anymore. Thank you, thank you. What a relief not seeing that upgrade message at the top of the screen anymore. :-)

One thing though.... sorry to do this, but, I can't figure out why I can't login to youtube. When I click the "Sign in" button at the top right hand corner of the youtube homepage, instead of youtube forwarding me to the login page so I can enter my username and password, it reloads the page instead with the message, "Sorry, your login was incorrect." Thing is, I didn't enter a username or password. So I click "Sign in" and it reloads the page. That's it. No username/password entered. And it doesn't mater whether I use Firefox 1.5 or Opera 9.64. This is the link where I'm redirected to whenever I try to login.

BTW: I don't mean to bother any of you with this one. If there's no solution to it, that's OK. I've had this particular issue for several months even before I added the fake user agent to Exceptions-U, so this is not something new. I have no problems logging in anywhere else, only youtube.

BTW 2: To answer your question JJoe, I added "i_popup_b:0." to my Exceptions for youtube because Proxo is blocking the the "pop out" to new window at the bottom right-hand corner of the youtube screen. I get the little blue exclamation mark at the bottom of my page whenever I click the square "pop out" to new window button, so I tried to allow it.

Location: http://local.ptron/sidki_h_2010-10-23/pop-link.gif
Here's a follow up to my post above.

I tried going through the "sign in" process again at youtube. I clicked the link I provided above, this one:

After clicking that link (and going to youtube) I then clicked, "Sign in." The page reloaded and I got the message, "I call shenanigans!" What in the world is this, lol? Maybe it's the older browser they're still detecting and won't let me in. Youtube says, "I call shenanigans?" That's funny. Looks like I'm gonna have to do more research on this with Google. Sigh.
Try clicking the "fly-over" box to sign in. Mouse on the "sign in" link and wait a second or two, a fly-over box should appear, "Base 16-Tracking Link".

If you click the little blue exclamation mark, the popup should open.
Otherwise, your Exception-U entry could be

[^/]$SET(0=i_popup_b:0.f_ua_§Mozilla/5%2e0 (Windows; U; Windows NT 6%2e1; en-US; rv:1%2e9%2e2%2e11) Gecko/20101012 Firefox/3%2e6%2e9%2e9.)

It's probably best that we all have the same Exceptions list.

OK, Joe Joe, I did what you said. I put my mouse on the "sign in" link and waited a second or two, and a fly-over box appeared. It was a "Base 16-Tracking Link." Well, I clicked it and guess what? It worked! Yes sir! It forwarded me to the Youtube "Sign in" page and I was able to sign in, no problem. Wow, you must be in the Chris?? mas spirit! You're awesome for figuring that out for me! Now I don't have to worry about it. What a relief! Thank you so much.

And, yeah, I agree, it'd be nice if we all had the same Exceptions list, so I changed back Youtube in my Exceptions to it's default setting and added the fake user agent and allow popups (for Youtube) in my Exception-U. Much better. :-)

By the way, before we wrap up this thread, what is a Base 16-Tracking Link? I know it is Proxo helping us, alerting us to something, but I don't quite understand it. And the fake user agent you provided for Youtube, is that the latest Firefox version? Best to you and Merry Chris?? mas!
The sign-in link looks something like


The ASCII character ":" can be represented as "%3A" in BASE16 aka hexadecimal aka 'hex'.
Some more:
/ is %2F
? is %3F
= is %3D
& is %26
% is %25

"&" is an html entity that translates to "&"

After the link is unescaped and the entity translated ( to make it easier to read )


Clicking the link would take you to google to sign-in and then return you to youtube, I think.

So, the link contains some escaped (BASE16) ASCII characters and may tell google where you were and where you wish to go. It's a "Base 16-Tracking Link".

The set tries to provide a direct path to the final destination. The original link is in the flyover just in case.

The user-agent is recent but not the latest.
I think the current stable's user-agent is

Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: Gecko/20101203 Firefox/3.6.13


Have fun
Oh, that definitely helped! Thank you so much, and have a Merry Chris?? mas!

"And there were in the same country shepherds abiding in the field, keeping watch over their flock by night. And, lo, the angel of the Lord came upon them, and the glory of the Lord shone round about them: and they were sore afraid. And the angel said unto them, Fear not: for, behold, I bring you good tidings of great joy, which shall be to all people. For unto you is born this day in the city of David a Saviour, which is Christ the Lord. And this shall be a sign unto you; Ye shall find the babe wrapped in swaddling clothes, lying in a manger. And suddenly there was with the angel a multitude of the heavenly host praising God, and saying, Glory to God in the highest, and on earth peace, good will toward men." Luke 2:8-14
4 years later should this solution still be working? I'd like to accomplish the same thing as apacallyps for Firefox, but in testing I used an updated version of the code in post #2 and it doesn't seem to change anything.

[^/]$SET(0=f_ua_§Mozilla/5%2e0 (Windows; U; Windows NT 6%2e1; en-US; rv:36%2e0) Gecko/20100101 Firefox/36%2e0.)

Testing it here:

It shows the real browser not the faked one.
(Jan. 14, 2015 01:33 AM)zoltan Wrote: [ -> ]
[^/]$SET(0=f_ua_§Mozilla/5%2e0 (Windows; U; Windows NT 6%2e1; en-US; rv:36%2e0) Gecko/20100101 Firefox/36%2e0.)

Testing it here:



Code:$SET(0=f_ua_§Mozilla/5%2e0 (Windows; U; Windows NT 6%2e1; en-US; rv:36%2e0) Gecko/20100101 Firefox/36%2e0.)
That works!
Does the "." only apply when there's a www in the URL? I've always been a bit confused about the differences between the expression syntax examples at the top of Exceptions-U.
What if I wanted the exception to apply to all sites, would it be
[^/]++ $SET(0=....etc
or just
$SET(0=....etc (without a url at the beginning)

For youtube, I used [^/]$SET(0=
and it seems to be working
(Jan. 14, 2015 03:05 AM)zoltan Wrote: [ -> ]Does the "." only apply when there's a www in the URL?

"[^/]+" says blindly match anything that is not a / OR nothing.
In "[^/]++what follows"
"[^/]++" says only match anything that is not a / OR nothing if it precedes "what follows".
So the "." could only be used if "what follows" starts with a ".".

(www.|) would match
([^/]++.|) would match those and more.

Remember that https sites may actually be seen as "".

(Jan. 14, 2015 03:05 AM)zoltan Wrote: [ -> ]What if I wanted the exception to apply to all sites, would it be
[^/]++ $SET(0=....etc
or just
$SET(0=....etc (without a url at the beginning)

If it were the only list entry, either would work. $SET(0=....etc is quicker.

Because of the way the lists and cfg work, I use something like

$SET(keyword=$GET(keyword)f_ua_§Mozilla/5%2e0 (Windows; U; Windows NT 6%2e1; en-US; rv:36%2e0) Gecko/20100101 Firefox/36%2e0.)(^)
~$SET(keyword=$GET(keyword)f_ua_§Mozilla/5%2e0 (Windows; U; Windows NT 6%2e1; en-US; rv:36%2e0) Gecko/20100101 Firefox/36%2e0.)(^)

for all sites.

$SET is executed when found. (^) never matches. So
these two entries should cause the f_ua string to always be added to the keyword variable while allowing other entries to add to the variable.

"~" is the "turtle excluder device". You can read about it in Proxomitron's help under Creating blocklists>>Unmatching a match.

You could also use a header filter.

Thanks for all the info. I had forgotten that setting it for all sites wouldn't work for urls already in the list. It's going to take a bit more study as I seem to have difficulty with matching language concepts.

An example: After looking at the matching language page, I would have said that "[^/]+" only means match a run of anything that's not "/". I don't see where the "OR nothing" comes in. It would seem that "[^/|]+" would be the way to say anything that is not "/" OR nothing -- similar to "(www.|)" meaning match "www." OR nothing.

Your explanation of "[^/]++" makes much more sense than what's on the matching language page, so hopefully I've got the distinction between + and ++.

With respect to URLs, what's the advantage of using "[^/]" instead of "(^/)" ? Doesn't the second one also include "anything that's not "/"?
And I'm probably missing what shoud be obvious, but why should the forward slash not be matched?
Pages: 1 2
Reference URL's