The Un-Official Proxomitron Forum
sidki-config: Jan 14 2009 beta 2 - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Config Sets (/forumdisplay.php?fid=43)
+--- Forum: Sidki (/forumdisplay.php?fid=44)
+--- Thread: sidki-config: Jan 14 2009 beta 2 (/showthread.php?tid=1218)

Pages: 1 2 3 4 5 6


RE: sidki-config: Jan 14 2009 beta 2 - leecovuk - Feb. 02, 2009 09:57 PM

(Feb. 02, 2009 09:38 PM)sidki3003 Wrote:  Lee:
It's fine, because it's a time limited effort. I've outlined things in the other sticky: I'll publish a release version; afterwords it's basically up to you (general meaning).

I'm still none the wiser Smile!
I'm probably missing the point or we're at cross purposes. Or I'm just generally confused.
(I've been attempting to sort out that 'confirm box' thing I posted freshly about earlier today in the Filter Help/Request forum. Having looked into javascript, scripts, and made other vague but well intentioned efforts to get my head around matching in Prox etc, my brain is somewhat fried. Oh, without success, obviously. How you guys know and do all this stuff, I'll never know.)
D'oh!
Banging Head
Smile!

Lee


RE: sidki-config: Jan 14 2009 beta 2 - soccerfan - Feb. 02, 2009 10:54 PM

(Feb. 02, 2009 09:38 PM)sidki3003 Wrote:  I'll attach the current snapshot.

Downloaded Smile!
Many thanks!


RE: sidki-config: Jan 14 2009 beta 2 - sidki3003 - Feb. 05, 2009 07:43 PM

Well, thank _you_, i think it was a good idea, because updating the IncludeExclude list is one of the few things left. So i've attached my current version - again.

Here are the domains that no longer receive special treatment, compared to the January 14 2009 IncludeExclude version:
Quote:al.com
aljazeera.net
amarillo.com
animewallpapers.com
aopa.org
atomfilms.com
boston.com
carsdirect.com
charlotte.com
chicagotribune.com
cleveland.com
dailycomet.com
derstandard.at
ea.com
easports.com
emerce.nl
esl.eu
excite.com
friendster.com
gadsdentimes.com
gamespot.com
goupstate.com
heraldonline.com
hollandsentinel.com
houmatoday.com
interfree.it
jacklewis.net
jagran.com
kansascity.com
lancasteronline.com
latimes.com
macromedia.com
masslive.com
mercedsunstar.com
miamiherald.com
mlive.com
modbee.com
motherjones.com
mysanantonio.com
nationmedia.com
nbc.com
news24.com
newsok.com
nike.com
nj.com
nola.com
oregonlive.com
oreilly.com
paltalk.com
pennlive.com
pressofatlanticcity.com
proficient.com
salon.com
signonsandiego.com
silive.com
sms.ac
squarefree.com
starnewsonline.com
syracuse.com
the-dispatch.com
theledger.com
thenewstribune.com
thumbshots.com
tidesports.com
timesdaily.com
tmcnet.com
tnr.com
toptechnews.com
travelhit.at
tri-cityherald.com
tv.com
wilmingtonstar.com
youtube.com
zona-musical.com


If you happen to frequent one of these sites, and something is broken that used to work before, let me know.

edit: Oh, and i've also fixed beautiful NYT (multimedia). Smile!
edit2: This will be the last snapshot, as coming changes/removals may rely on changed filters/list entries.


RE: sidki-config: Jan 14 2009 beta 2 - eclipse - Feb. 05, 2009 08:51 PM

Noticed the other day that Babelfish translation is broken (because of some redirect to http://babelfish.yahoo.com/). The "source" url doesn't appear anymore (like in the Intertran case).

Sidki, may I request a little addon to the menu?
I find it quite useful sometimes so.... maybe others do as well...
The ability to do a "f_ua_gbot" but on the go, without adding an IncludeExclude-U entry.
The reason? Visiting random forums (after following a search engine result) that allow Gbot access, but need to be registered otherwise.

Yes, you're allowed to call me lazy, but otherwise I'll be filling up my IncludeExclude-U list with clutter just to check two or three pages once Wink

I have to say that I was trying to decypher your coding but as I'm quite short on time (and expertise! Wink ) didn't dwell too deep on it (and might be better to listen to the AUTHOR).

Thank you sidki!


RE: sidki-config: Jan 14 2009 beta 2 - soccerfan - Feb. 05, 2009 08:54 PM

Thanks again for the updated IncludeExclude.
The ones I frequent out of the no-longer-needed-sites are nbc and youtube.
Will try them out with the 2-05 list and report if anything breaks.

Do I sense a new sidki release in the offing Wink


RE: sidki-config: Jan 14 2009 beta 2 - sidki3003 - Feb. 05, 2009 10:58 PM

(Feb. 05, 2009 08:51 PM)eclipse Wrote:  Noticed the other day that Babelfish translation is broken (because of some redirect to http://babelfish.yahoo.com/). The "source" url doesn't appear anymore (like in the Intertran case).

Fixed, thanks. Smile!


Quote:Sidki, may I request a little addon to the menu?
I find it quite useful sometimes so.... maybe others do as well...
The ability to do a "f_ua_gbot" but on the go, without adding an IncludeExclude-U entry.
The reason? Visiting random forums (after following a search engine result) that allow Gbot access, but need to be registered otherwise.

I'm aware that there are quite some useful things that could be added to the submit form (right column).
It would get longer and longer, losing harmony with the left and middle column.
In the long run the menu might be in need of a redesign...

However, you can add below line to your personal copy of proxjs-x-menu.js:
Code:
x[x.length] = check; x[x.length] = "\"f_ua_gbot\" />Googlebot</label></a></div>";

...just above this line:
Code:
x[x.length] = "\n<div class=\"ProxMSep-Div\"></div>";


Quote:Yes, you're allowed to call me lazy, but otherwise I'll be filling up my IncludeExclude-U list with clutter just to check two or three pages once Wink

I have to say that I was trying to decypher your coding but as I'm quite short on time (and expertise! Wink ) didn't dwell too deep on it (and might be better to listen to the AUTHOR).

I was just going to say something about my current attitude towards users coquetting with their own laziness (as well as lack of free cycles), but as long as you try...


RE: sidki-config: Jan 14 2009 beta 2 - ProxRocks - Feb. 05, 2009 11:34 PM

(Feb. 05, 2009 08:51 PM)eclipse Wrote:  The ability to do a "f_ua_gbot" but on the go, without adding an IncludeExclude-U entry.

i do these types of activities via self-made GreenBrowser plugins...
in Opera, i perform these duties via "bookmarklets" (which would work for Firefox as well)...

basically, the below saved as a "bookmark" (but condensed into a single-line of code) -
Code:
<script language="JavaScript">

window.location.href= ''+self.location+'?prx-keyword=.f_ua_gbot.';

</script>



RE: sidki-config: Jan 14 2009 beta 2 - eclipse - Feb. 06, 2009 12:22 AM

Quote:However, you can add below line to your personal copy of proxjs-x-menu.js:

That's more than enough for me, thank you very much Sidki!


ProxRocks, your method is really good! I've totally forgot about bookmarklets. Thank you!


Quote:I was just going to say something about my current attitude towards users coquetting with their own laziness (as well as lack of free cycles), but as long as you try...
Don't worry. I'm determined to pay more attention and learn! Wink

Having you guys (and/or gals) around is very encouraging!

Thank you again.


RE: sidki-config: Jan 14 2009 beta 2 - lnminente - Feb. 06, 2009 08:26 PM

Hi Sidki i wrote these filters to set the variables Inside_Script, Inside_Style and Inside_Link to 1 if we are parsing a Script, a Style or a Link respectively.

Code:
[HTTP headers]
In = TRUE
Out = FALSE
Key = "URL :I-0.2 Set var ContentType {ln}090123 WIP"
Match = "$IHDR(Content-Type: (\2;*|\2))$SET(ContentType=\2) "
Replace = "$TST(keyword=*.i_level\:[5].*)$LOG(C$DTM(c),I-0.2 Set var ContentType=$GET(ContentType))"

In = TRUE
Out = FALSE
Key = "URL :I-0.3 Set Inside_ (script|style) from ContentType {ln}090125"
Match = "$TST(ContentType=(text/css$SET(4=Inside_Style)$SET(Inside_Style=1)|(text/|application/x-)javascript$SET(4=Inside_Script)$SET(Inside_Script=1)))"
Replace = "$TST(keyword=*.i_level\:[5].*)$LOG(C$DTM(c),I-0.3 Set \4 for ($GET(ContentType)) file in: \u)"

[Patterns]
Name = "Defining [Inside_Script/Link/Style] {ln}090123 (Read!)"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 256
Match = "< ("
        "script(\s|>)$SET(Inside_Script=1)|"
        "/script >$SET(Inside_Script=)|"
        "a\s$SET(Inside_Link=1)|"
        "/a >$SET(Inside_Link=)|"
        "style(\s|>)$SET(Inside_Style=1)|"
        "/style >$SET(Inside_Style=)"
        ")PrxFail$TST()"
Replace = "Place this filter always at the end of the list."

Could you tell me in 2 lines of text if you use something similar, and the valors they take in these cases? Its only for trying to do some of my filters compatible with your config, just like the ilevel=5. TIA und hab ein Gut Wochenende!

* z12 helped me deciding where to put the filter "Defining [Inside_Script/Link/Style] {ln}090123 (Read!)". Hope he becomes better soon.


RE: sidki-config: Jan 14 2009 beta 2 - sidki3003 - Feb. 06, 2009 09:31 PM

First filter: No equivalent ("hRealCT" acts differently)

Second filter: script: s-*, tStyle: s-css

Third filter:
script:
11+ -> inside, normal (if outside comment: 11: double nest, 111: triple nest, etc.)
1s -> inside, contains src attribute
void -> inside, already defused
empty -> outside

tAnc:
11+ -> inside (11: double nest, 111: triple nest, etc.)
j -> JS link
empty -> outside

tStyle:
1 -> inside
empty -> outside


See also Global_Vars.txt.


RE: sidki-config: Jan 14 2009 beta 2 - sidki3003 - Feb. 06, 2009 09:45 PM

(Feb. 06, 2009 08:26 PM)lnminente Wrote:  TIA und hab ein Gut Wochenende!

Danke, du auch!


RE: sidki-config: Jan 14 2009 beta 2 - lnminente - Feb. 06, 2009 09:57 PM

Super!! Vielen Dank Sidki!

Your vars are more complex than i was expecting but we have in common when our vars are empty we are outside. I will change the test of my vars from (^$TST ...=1) to (^$TST ...=*) to make them more compatible.


RE: sidki-config: Jan 14 2009 beta 2 - whenever - Feb. 07, 2009 04:40 AM

Code:
[Patterns]
Name = "Title: Prepend Proxy Indicator     7.06.12 (fail) [sd] (d.1 l.4)"
Active = TRUE
URL = "$TYPE(htm)$TST(keyword=(^*.a_title.)*.i_proxy:[#1:*].*&*.i_level:[45].)$SET(jsVarsT=$GET(jsVarsT)_titProxy: 1, )PrxFail$TST()"
Limit = 1
Match = "$STOP(This switch defaults to active in Advanced Mode and above)"

How about changing the i_proxy setting from [#1:*] to [#2:*]?

If somebody enable the "! |||||||||||| 3.2 Use Proxy by Default 5.09.12 [srl] (o.1) (Out)" header filter, he should be already aware of that all pages are transferred through proxy, so we don't need to add the [Proxy] indicator on every page, which is a little annoying when you have many tabs opened, because the titles were shorten and you can see only [Pr...


RE: sidki-config: Jan 14 2009 beta 2 - sidki3003 - Feb. 07, 2009 08:39 PM

That surely makes sense!

The thing is that the general switches in the Prox menu form are controlled by a single function, which toggles values between "0" and "1". I don't recall the details right now, but "2" would have side effects.

Now, if you chose "Use Proxy -> Session", i think it's very helpful to see the proxy indicator. So i don't know how to get it right for both situations.

If you don't use a proxy that requires authentication, you could just check "Use Remote Proxy" from the Prox main GUI. Then you don't get the indicator.


RE: sidki-config: Jan 14 2009 beta 2 - sidki3003 - Feb. 07, 2009 10:41 PM

Try this, i'll try it too:

Code:
[HTTP headers]
In = FALSE
Out = FALSE
Key = "! |||||||||||| 3.2 Use Proxy by Default     9.02.07 [srl] (o.1) (Out) TEST"
URL = "$SET(keyword=$TST(keyword=(^*.(a_headers.|i_proxy:))\1)\1i_proxy:11.)"

[Patterns]
Name = "Title: Prepend Proxy Indicator     9.02.07 (read! fail) [sd] (d.1 l.4) TEST"
Active = TRUE
URL = "$TYPE(htm)$TST(keyword=(^*.a_title.)*.i_proxy:[#1:9].*&*.i_level:[45].)$SET(jsVarsT=$GET(jsVarsT)_titProxy: 1, )PrxFail$TST()"
Limit = 1
Match = "$STOP("
        "This switch defaults to active in Advanced Mode and above."
        "The [Proxy] notification is suppressed, if you've activated"
        "the "3.2 Use Proxy by Default" header filter."
        ")"

"TEST", because quite some filters do a "i_[^:]+:" or similar keyword check.