Post Reply 
Faster access to debugging
Oct. 28, 2008, 01:04 AM
Post: #1
Smile Faster access to debugging
I got tired of clicking here and there everytime i want to debug a page, you only will need two fingers now to press F6+F5. Also its possible with only one finger Whistling
Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "URL: Redirect to debug on pressing F6 key (Out) {ln}081027"
URL = "$KEYCHK(^117)"
Match = "*"
Replace = "$RDIR(http://\xdbug..\h\p\q\a)$LOG(!RDebug================)"

-lnminente
Add Thank You Quote this message in a reply
Oct. 28, 2008, 01:44 AM
Post: #2
RE: Faster access to debugging
(Oct. 28, 2008 01:04 AM)lnminente Wrote:  Also its possible with only one finger Whistling

um, except for people like me with one of those split-and-angled keyboards, lol (yeah, they take a few days to get used to, but once you do, you'll never do without and you'll even buy a SECOND one 'cause the office won't buy ya one)... Big Teeth

(but tha's alright, i have a "plugin" that debugs with a quick move of the mouse and a single-click... Cool)


ps - though will be "trial-running" just for the curiosity of it, lol... intriguing if it does what i think it does [browser sitting idle at a web site, mouse and keyboard doing nothing, key-combo pressed and web browser comes alive!]


edit: DUH! i get it now... F5=refresh... very clever indeed, lol...
Add Thank You Quote this message in a reply
Oct. 28, 2008, 03:25 AM
Post: #3
RE: Faster access to debugging
Good idea but doesn't work for me. On the other hand, why don't you use \u instead of \h\p\q\a?

I made some adjustment and it worked now:
Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "!-|||||||||||| URL: Redirect to debug on pressing F6 key {ln}081027"
URL = "$KEYCHK(^117)&$RDIR(http://\xdbug..\u)$LOG(!RDebug================)"
Add Thank You Quote this message in a reply
Oct. 28, 2008, 01:11 PM
Post: #4
RE: Faster access to debugging
to proxrocks: Maybe you could do it with only one finger positioning it horizontal Wink

to whenever: It must work, play with times, press one key a fraction of a second before the other.
If follows not working, change the key, maybe your browser uses F6 for other things. To know the keycodes read "About_Keys.txt" from sidki.

Quote:why don't you use \u instead of \h\p\q\a?
Go to web filters, create a new filter, use * for matching code, and \u\r\n\h for replacement. You will see \u adds http:// so would not work for the url command debug Wink


BTW One new filter: when i'm analizying the http headers i use this one to avoid seeing the http headers of images
Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "Accept: Not requesting images on pressing F4 {ln}081027"
URL = "$KEYCHK(^115)"
Match = "image/*"
Replace = "$JUMP(http://local.ptron/red.gif)"
Add Thank You Quote this message in a reply
Oct. 28, 2008, 01:26 PM
Post: #5
RE: Faster access to debugging
(Oct. 28, 2008 01:11 PM)lnminente Wrote:  You will see \u adds http:// so would not work for the url command debug Wink

would work if your debug is "keyword-based" - ie, ht tp :// www . link . com ?prx-command=dbug..

(spaces added to "break it", goes without saying [but wait, i did say, oh well]...)
Add Thank You Quote this message in a reply
Oct. 28, 2008, 01:50 PM
Post: #6
RE: Faster access to debugging
Quote:goes without saying [but wait, i did say, oh well]...)

To Proxrocks: Hey dude! Where is my car? What does my tatoo says? hehehe
http://www.youtube.com/watch?v=8TnVHy-g2xs&fmt=18
Add Thank You Quote this message in a reply
Oct. 28, 2008, 02:20 PM
Post: #7
RE: Faster access to debugging
@lnminente, I tried again but your filter just don't work on my Firefox, opera and Greenbrowser, while mine work well, even with the \u mistake. Maybe it is because I am using sidki's set and it corrected my mistake but conflicted to your filter.

You are right on the \u and I changed to use \h\p\q\a.

@ProxRocks, sidki's set has some filters to translate the prx-command to the original URL command.
Add Thank You Quote this message in a reply
Oct. 28, 2008, 03:09 PM
Post: #8
RE: Faster access to debugging
won't be able to do this "as is" in GreenBrowser or Opera...

in GreenBrowser, F4 is used to CLOSE the current tab...
(and can't use F6 'cause that's used to search for the "previous" of whatever is in the search box [where F7 is "next"])...

in Opera, F4 toggles the "panel selector"...

Firefox, "no clue"...
Add Thank You Quote this message in a reply
Oct. 28, 2008, 03:31 PM
Post: #9
RE: Faster access to debugging
Firefox uses F6 for going to the address bar, but this still let me use the key with proxomitron.

For people wich want another key: "About_Keys.txt"

I created a blank config y put the filter from Whenever in it, it seems is autocorrected (redirected) by proxomitron, not by other filters, interesting...
Add Thank You Quote this message in a reply
Jun. 22, 2009, 08:31 PM
Post: #10
RE: Faster access to debugging
Nice filter! It does what I wish for many times. The F6 works for me. Thanks!
Visit this user's website
Add Thank You Quote this message in a reply
Jun. 22, 2009, 09:59 PM
Post: #11
RE: Faster access to debugging
Thanks Arne, here are are actual filters for the next release of the base config:

Code:
[HTTP headers]
In = FALSE
Out = TRUE
Key = "! :0_61a Redirect to debug (Key:F6) {ln}·090428"
URL = "$KEYCHK(^F6)$LOG(!RHeader $DTM(c),!0_61a Debugging $GET(uFile).$GET(uExt)================)$RDIR(http://\xdbug..\h\p\q\a)"

In = FALSE
Out = TRUE
Key = "! :0_61b Redirect to bypassed source (Key:F8) {ln}·090428"
URL = "$KEYCHK(^F8)$LOG(!RHeader $DTM(c),!0_61b Bypassing source of $GET(uFile).$GET(uExt)================)$RDIR(http://\xsrc..bypass..\h\p\q\a)"
Add Thank You Quote this message in a reply
Jun. 22, 2009, 10:47 PM (This post was last modified: Jun. 22, 2009 10:49 PM by Toppy.)
Post: #12
RE: Faster access to debugging
Firefox uses F6 as a shortcut to switch between the address-bar, the bookmarks search box, and the actual browser page.
Add Thank You Quote this message in a reply
Jun. 23, 2009, 06:53 AM
Post: #13
RE: Faster access to debugging
(Jun. 22, 2009 10:47 PM)Toppy Wrote:  Firefox uses F6 as a shortcut to switch between the address-bar, the bookmarks search box, and the actual browser page.

Yes, but it works anyway
Visit this user's website
Add Thank You Quote this message in a reply
Jun. 23, 2009, 09:50 AM
Post: #14
RE: Faster access to debugging
keep in mind though that a "base config" is NOT to be designed around ONE web browser...

not all of us Proxo users surf via Firefox and Proxo configs should not come with a disclaimer, "to be used with Firefox ONLY"...

we have extremely legitimate reasons to use whatever non-fox browser we may use...


at the bare minimum, configs really should work "out of the box" with IE6/7/8, Opera, and (gulp!) Firefox...

Maxthon, Sleipnir, and Greenbrowser are, generally speaking, only used by the "more advanced" surfer and "we" know how to edit Proxo configs to work with our browsers... So working "out of the box" with them isn't a bare-bone requirement...

While I'm "diatribing", Firefox surfers are NOT, as a rule of thumb, "more advanced" surfers (among the Proxo community, YES!)... "Some" Firefox users, non-Proxo, use Firefox solely on "hype" and nothing more... "Some" Firefox users are so ignorant about computers that they don't even know how to check the memory footprint of an app... "Some" Firefox users have NEVER (and will never!) view the "source code" of ANY web site, they use Firefox based off of 1980's security hype and nothing more... </end diatribe>
Add Thank You Quote this message in a reply
Jun. 23, 2009, 10:21 AM
Post: #15
RE: Faster access to debugging
I guess using Notepad makes me a complete idiot then; since we are judged by the programs we use! ;-)
Visit this user's website
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: