Page 1 of 1

RFE (with patch): ASP __doPostBack detection

Posted: Tue Apr 15, 2014 9:00 pm
by Lekensteyn
There are some ancient broken shitty ASP sites that put their links behind an ugly javascript:__doPostBack URL. What do you think of this patch? The "aspnetForm" name seems to be a default, but I have seen other names ("isisform", "Form1"). All use the "theForm" global variable, but I don't know how to get that string securely in a Firefox extension.

Patch at https://github.com/Lekensteyn/noscript/ ... a1268e198c, I tried to post it here, but your antispam filter hates me.

Re: RFE (with patch): ASP __doPostBack detection

Posted: Thu Apr 17, 2014 12:11 am
by Thrawn
:D Not only has the spam filter prevented you from posting the contents, but the link to GitHub was truncated (and broken) when you previewed your post before submitting it.

Please try it again inside [ url ] tags, or else PM the contents to a moderator.

And thanks for the code.

Re: RFE (with patch): ASP __doPostBack detection

Posted: Wed Dec 09, 2015 2:58 am
by barbaz
Just happened upon this thread

The RFE sounds like a really good idea, but I'm not sure that the proposed patch (https://github.com/Lekensteyn/noscript/ ... a1268e198c?) is the best approach... I'm not seeing why it can't be done instead as a surrogate script?