Need some help with exceptions please....
|
Oct. 08, 2009, 06:34 PM
Post: #1
|
|||
|
|||
Need some help with exceptions please....
Howdy. I have Sidki's base set with the 5/24 alpha and subsequent update loaded.
I have a few problem sites, and I'm hoping someone can help me work around them. Facebook...in the inbox area, I must frequently hit refresh to view an entire thread. There are a few other anomalies that I can seem to remember at the moment. Live Mail...can't click and open email. And there is one website that even though I've allowed cookies in the user list, I can only log on for the current session only - the cookie doesn't save after the browser closes. I've read the help files in the Sidki directory, but I must be an idiot, because I can't seem to make heads or tails out of it. First, how do I determine what is keeping the site from working properly, and how do I implement the appropriate workaround? I've added the problem sites to the bypass list as a temporary workaround, but I'd like to do the job properly. Any guidance appreciated. Best, C |
|||
Oct. 08, 2009, 07:03 PM
(This post was last modified: Oct. 08, 2009 07:05 PM by ProxRocks.)
Post: #2
|
|||
|
|||
RE: Need some help with exceptions please....
(Oct. 08, 2009 06:34 PM)Belarathon Wrote: And there is one website that even though I've allowed cookies in the user list, I can only log on for the current session only - the cookie doesn't save after the browser closes. have you unchecked the header filter ! |||||||||||| 5.1 Session Cookies by Default 5.10.02 [srl] (d.1) (Out) (don't forget to save the config after unchecking) ??? ps - some sites require that three or four sites be added to the cookie list, not just one... |
|||
Oct. 09, 2009, 05:11 PM
Post: #3
|
|||
|
|||
RE: Need some help with exceptions please....
(Oct. 08, 2009 06:34 PM)Belarathon Wrote: Howdy. I have Sidki's base set with the 5/24 alpha and subsequent update loaded. Normally, I'd rather we not deal with so many issues is a thread but since this is an alpha... Please add "5/24 alpha" to post subject. (Oct. 08, 2009 06:34 PM)Belarathon Wrote: Facebook...in the inbox area, I must frequently hit refresh to view an entire thread. There are a few other anomalies that I can seem to remember at the moment. I don't have an account. (Oct. 08, 2009 06:34 PM)Belarathon Wrote: Live Mail...can't click and open email. I borrowed an account. *.mail.live.com/mail/InboxLight.aspx?FolderID=* I found Code: BlockList 1209: in AdKeys-J, line 251 So I added Code: [Patterns] to the top of the webpage filters. This seems to fix mail problems. Live.com uses frames, unicode, and redirects. The set adds elements that appear to confuse the browser or break things. I added Code: [^/]++.live.com/ $SET(0=i_level:1.0.) to Exceptions-U. Everything, in mail, that I have checked seems to work now. I suspect $SET(0=i_level:1.0.) isn't specific enough and "Protect <script> Loc for hotmail test" is too specific, however. HTH |
|||
Oct. 10, 2009, 01:47 AM
(This post was last modified: Oct. 10, 2009 01:48 AM by ProxoDent.)
Post: #4
|
|||
|
|||
RE: Need some help with exceptions please....
JJoe,
I was able to get everything (see Note 1) working by adding the following to Exceptions-U.ptxt (no new filters required): Code: [^/]++.live.com/*$SET(0=a_adscr.a_noprint.a_rdlink.$TST(uDom=live.com)) That might satisfy the desire to be more specific, not sure. By the way, in regard to 'live.com': - a_adscr. resolved the issues of not being able to read mail, etc.; - a_noprint. resolved incorrectly positioned 'footer' items on the pages; - a_rdlink. prevented 'untangling' the URLs in the main menu items; and in regard to 'hotmail.com': - a_js. resolved the issue of page never fully loading when clicking to read an e-mail (actually, 'Loading ...' appears at the bottom of the page without this exception - see attached screen-shot); I tested with Proxo SSL enabled and disabled with the same apparent results, mostly. When running without Proxo SSL, signing out of the account works cleanly and the user is dropped to MSN.com. However, if running Proxo SSL, an intermediate page appears stating that one or more of the account sub-modules could not be signed-out giving the user an opportunity to try again. I did not spend any time on tracing that down. Notes: 1. 'Everything' may be too broad since there are a lot of things going on with 'live.com'. I tested beginning from the login page (https://login.live.com) and clicked through all the main links at the top of the pages once logged in. I also sent / received / read e-mail, added an attachment, added a contact, etc. and all seemed fine. There still may be something that was missed, however. 2. I created the Live account specifically to test for this post since I thought I could use it in the future to download MS 'beta' software (I believe a Live account is required for downloading such things as operating system betas / RCs, etc.). I intended to sign up for a while but never did. Since the account is new to me and likely won't get used much, my testing procedures may not have been as thorough as compared to someone more familiar with the account. 3. I don't have a FaceBook account and am not willing to join up just to test. I never even visit the site. Sorry. |
|||
Oct. 10, 2009, 03:58 AM
Post: #5
|
|||
|
|||
RE: Need some help with exceptions please....
(Oct. 10, 2009 01:47 AM)ProxoDent Wrote: - a_adscr. resolved the issues of not being able to read mail, etc.; This removes the need for the filter but I did see Ad Scripts that it could allow. Probably prefer another solution. (Oct. 10, 2009 01:47 AM)ProxoDent Wrote: and in regard to 'hotmail.com': I didn't notice a problem. I did see 'Loading ...' tho... a_js. is broad. Code: [^/]++.live.com/*$SET(0=a_adscr.a_noprint.a_rdlink.$TST(uDom=live.com)) The * isn't necessary. I don't think $TST is doing what you think it is doing. I'd expect $SET to set the variable when executed. I'd expect $TST inside $SET to affect the variable, not the match. Isn't uDom live.com or hotmail.com? Consider Code: [Patterns] Test against Code: <enter test HTML here> Result Code: a_adscr.a_noprint Have fun |
|||
Oct. 10, 2009, 02:31 PM
Post: #6
|
|||
|
|||
RE: Need some help with exceptions please....
(Oct. 10, 2009 01:47 AM)ProxoDent Wrote: JJoe, Yes you did. I appreciate the contribution. Was hoping for a mere confirmation of my findings. I'm more than aware that these things can take a lot of time. Be careful... Thanks, JJoe |
|||
Oct. 11, 2009, 12:11 AM
Post: #7
|
|||
|
|||
RE: Need some help with exceptions please....
(Oct. 10, 2009 03:58 AM)JJoe Wrote:(Oct. 10, 2009 01:47 AM)ProxoDent Wrote: - a_adscr. resolved the issues of not being able to read mail, etc.; Yes. I noted 2 additional inline scripts that are allowed as a result (could easily change), but I think at least one of them is an undesired hit just like the 'Loc' code. The 'Block: Ad Scripts - Content' filter that causes the original issues triggers this code in AdKeys-J.ptxt (as you are aware): Code: ad(v[#0:*]|id|s((^rc$TST(\3=>))[b-df-km-z][a-z]+{1,*}|(^=(\=\=|{}))) which in turn matches the 'ad' like words in the following snippet from the 'Loc' script (the first match is 'adsMinInterval'): Code: "15.1.3020.0910",config : {adsMinInterval: "2", adsMinActions : "1",cookieDomain: ".mail.live.com",imgSvrUrl : "http://gfx2.hotmail.com/mail/w4/pr01/ltr/"}};Page = {addFeedbackData : Most (if not all, at least that I could see) of the advert content is coming from code that is blocked by other filters, so relaxing the filtering via 'a_adscr' may be okay in this case. However, I probably say that because I'm not smart enough to come up with a filter that strikes the right balance between restricting too much and too little. Perhaps in the case of 'live.com', it might be better to err on the side of being less restrictive so as not to break anything when a single character of code changes. (Oct. 10, 2009 03:58 AM)JJoe Wrote:(Oct. 10, 2009 01:47 AM)ProxoDent Wrote: and in regard to 'hotmail.com': Yep, it is broad. I'm checking in to narrowing it down. By the way, the problem that I am encountering is a 'waiting cursor' while 'Loading' even as the status bar says its 'Done' (see screen-shot for example) and eventually, the loading finally times out with an error message posted to the page (see attached screen-shot). The issue is highly repeatable, though it does not happen every time one attempts to read mail (maybe one out of every three tries or so). The problem goes away after applying the exception. (Oct. 10, 2009 03:58 AM)JJoe Wrote: I agree with all your points. It was also redundant to have a test for 'uDom=live.com' when matching against '[^/]++.live.com' even if it did what I thought it was doing. I got a little hasty there. Just remove the $TSTs from the $SET code (and the asterisks can go as well). I found a couple of additional issues while playing with the site that I will address in the next post, and I'll present the (cleaned up) exceptions again updated for handling the new items. Thanks. P.S. This is mostly academic for me now as I have installed the 'Outlook Connector' to handle most of the Live mail functions in Outlook: http://www.microsoft.com/downloads/detai...laylang=en Most customization still requires visiting the Web-based service, though. |
|||
Oct. 14, 2009, 11:56 AM
(This post was last modified: Oct. 14, 2009 12:02 PM by ProxoDent.)
Post: #8
|
|||
|
|||
RE: Need some help with exceptions please....
I finally got around to writing up the results of my additional testing of Live.com. Though I won't use 99% of this stuff, tests included:
- contacts - calendar - photos (slide show even works) - themes - SkyDrive (file storage) - messenger (log-in and log-out only) - other user settings (permissions, preferences, etc.) - I'm Making A Difference program (MS donates ad revenue to charity) I did not test: - Groups - Spaces - Family Safety - Mobile - Office Live I am posting all the exceptions even if they were previously discussed in this thread. Most were modified in some way, and more information about the exception may have been added. The comments (#) can be pasted into Exception-U.ptxt along with the exceptions themselves or deleted. A text file containing the following code but consolidated for convenience is attached. Code: ## General ---------- Code: ## Mail ---------- Code: ## Your Network Permissions (may not be necessary / commented out by default) Code: ## Help (User's Guide) ---------- Code: ## Calendar ---------- |
|||
Oct. 15, 2009, 03:46 AM
Post: #9
|
|||
|
|||
RE: Need some help with exceptions please....
Good Job!
Do the below urls interfere with each other? Code: [^/]++mail.live.com/mail/*InBox BTW, may I ask how many hours you have spent on the test? |
|||
Oct. 16, 2009, 12:48 PM
(This post was last modified: Oct. 16, 2009 01:48 PM by ProxoDent.)
Post: #10
|
|||
|
|||
RE: Need some help with exceptions please....
(Oct. 15, 2009 03:46 AM)whenever Wrote: Good Job! Sarcasm? (Oct. 15, 2009 03:46 AM)whenever Wrote: Do the below urls interfere with each other? Not in the sense that it breaks anything. At first glance, it might appear that: Code: [^/]++.mail.live.com/mail would override: Code: [^/]++mail.live.com/mail/*InBox in all circumstances. It does not, however. Without getting into details, the two exceptions share the load. Each exception does what I intended it to do per the comments I provided (as borne out by checking what Proxomitron is doing [http://local.ptron/.pinfo/lists/Exceptions-U]). However, when clicking on links in the Live.com mail module that fall outside the scope of the issues that the exceptions were designed to fix, then: Code: [^/]++.mail.live.com/mail overrides (in most cases): Code: [^/]++mail.live.com/mail/*InBox When I restrict '[^/]++.mail.live.com/mail' by changing it to: Code: [^/]++.mail.live.com/mail&(^[^/]++mail.live.com/mail/*InBox) each act on the links I intended (as before), but on links outside that scope, the roles are reversed and: Code: [^/]++mail.live.com/mail/*InBox gets the lions share of hits. I decided that this might be the better solution (again, either way works), and I have added it in along with some other changes I made (see next post). I only suppose the behavior is related to how I have the following URL set up: Code: [^/]++.live.com/ By the way, it would work, I guess, to keep only: Code: [^/]++.mail.live.com/mail and delete the other one. However, I opted for two separate exceptions so I could disable them independently of each other. Of course, disabling '[^/]++.mail.live.com/mail' prevents Help from functioning, but that is fine depending on what you need. Sorry for being so obtuse in the description of the behavior, but I was too lazy to better describe it. Which brings me to your question: (Oct. 15, 2009 03:46 AM)whenever Wrote: BTW, may I ask how many hours you have spent on the test? Not sure how long. I worked on it exclusively for several hours, but now it's just a matter of finding things as I go along. My goal really isn't to fix the site so much as it is to use the opportunity to figure out some things about how Proxo works. I'm decent at Python, Perl, HTML, PHP, etc., but staring at these long a** matching code strings and not having the luxuries of advanced, well-organized coding tools and great documentation is putting me in my place. I just added the Sidki config files as a project to Eclipse, so that helps keep things somewhat organized, using Mercurial as version control. It won't matter in a couple of days when I get burned out and move on anyway. This exercise has really made me question whether I should continue using Proxomitron. I really like it and have used it for quite a while (just never dug that deeply into Sidki's config), but I am ambivalent. On the one hand, I'd like to continue to support Proxo and Sidki, but does my support show appreciation, or does it just prolong the torture of the few individuals that try to maintain a project that should, realistically, be maintained by hundreds of developers? I ask that only in half jest. |
|||
Oct. 16, 2009, 01:49 PM
(This post was last modified: Oct. 16, 2009 01:50 PM by ProxoDent.)
Post: #11
|
|||
|
|||
RE: Need some help with exceptions please....
Attached is an updated set of exceptions for anyone interested.
The updates include: - fix for broken Javascript links in the Help section on Live.com. Certain links should expand to reveal additional documentation, but filtering causes a blank window to open instead. See attached images: 1. help-pane-jslink-working.png - shows JS links expanded to reveal additional text. 2. help-pane-jslink-broken_click_blank.png - show what happens when clicking a 'filtered' link - modify one of the exceptions with a 'match only once' exclusion (fixes potential conflict with another exception). See previous post for discussion. - changed some of the comments. I've also got an alternative exceptions methodology I'll post a little later. |
|||
Oct. 18, 2009, 07:20 AM
Post: #12
|
|||
|
|||
RE: Need some help with exceptions please....
(Oct. 16, 2009 12:48 PM)ProxoDent Wrote: This exercise has really made me question whether I should continue using Proxomitron. I really like it and have used it for quite a while (just never dug that deeply into Sidki's config), but I am ambivalent. On the one hand, I'd like to continue to support Proxo and Sidki, but does my support show appreciation, or does it just prolong the torture of the few individuals that try to maintain a project that should, realistically, be maintained by hundreds of developers? I ask that only in half jest.Keep using and contribute to the community, if you really like it. This is how you can support sidki: http://prxbx.com/forums/showthread.php?tid=1190 |
|||
Oct. 18, 2009, 07:29 AM
Post: #13
|
|||
|
|||
RE: Need some help with exceptions please....
All of this is done on a volunteer-basis (although I still want Sidki to accept donations through PayPal since I think he deserves it).
I've given some money out of my own pocket to maintain these forums and the domain name (which has been running pretty smoothly ). I don't really want any donations since I feel the experience has been thrilling, keeping Proxomitron alive. I've been following the progress of this thread and I can say that you could and have certainly contributed to Sidki's config pack. Sidki has expressed that the main thing he needs are testers. |
|||
Oct. 28, 2009, 06:08 PM
Post: #14
|
|||
|
|||
RE: Need some help with exceptions please.... | |||
Nov. 15, 2009, 08:08 PM
Post: #15
|
|||
|
|||
RE: Need some help with exceptions please....
I take it then that none of the fixes discussed here need to be ported to the next config, which surprises me...
|
|||
« Next Oldest | Next Newest »
|