Userscripts : Beautifier + Deobfuscator

By w35l3y Last update Mar 12, 2011 — Installed 1,243 times.

SUGGESTIONS

in
Subscribe to SUGGESTIONS 7 posts, 2 voices



Marti Scriptwright
FirefoxX11

Nice script dude... but some possible suggestions/questions

  • REVOKED Would you be willing to make it more DOM friendly and perhaps follow the existing button train in the Source Code pages? (e.g. don't execute until a user clicks the new button)
  • COMPLETE Why do you @include Greasefire urls in this?

 
w35l3y Script's Author
FirefoxWindows

yes, I could add a button... this is a good ideia, thanks.
I included greasefire because for some reason google likes to index greasefire pages

 
w35l3y Script's Author
FirefoxWindows

I added the button and then removed it again because the highlight is disabled.
If highlighting isnt a problem, then you may install 1.0.4.4

 
Marti Scriptwright
FirefoxX11

w35l3y wrote:
I added the button and then removed it again because the highlight is disabled.
Hmmm how so? Did it never trigger for you?

w35l3y wrote:
If highlighting isnt a problem, then you may install 1.0.4.4
Seems that I get an error with that version.
Error: Illegal value = NS_ERROR_ILLEGAL_VALUE
Source file: file:///~/.mozilla/firefox/{seed}.default/extensions/{e4a8a97b-f2ed-450b-b12d-ee082ba24781}/components/greasemonkey.js
Line: 124
Thank you though. :)


Perhaps a different request could be in order... same concept by not running the init routine and post it as a lib user.js instead/also so others could @require it and call into both beautification and/or debobfuscation at will?

 
w35l3y Script's Author
FirefoxWindows

Hmmm how so? Did it never trigger for you?
It triggers, but it is disabled whether I click "Decode"

Seems that I get an error with that version
I thought older versions could be installed, my mistake

post it as a lib user.js instead/also so others could @require it
That is an excellent ideia. I will try to work on it next weekend

 
Marti Scriptwright
FirefoxX11

w35l3y wrote:
I thought older versions could be installed, my mistake
They can ... just didn't like this machine for some odd reason.

w35l3y wrote:
That is an excellent ideia. I try to work on it next weekend
Way kewl... I look forward to it. :) Thanks for taking the time to think about it.

 
w35l3y Script's Author
FirefoxWindows

Done!
Includes : JsCode

And that is the result of the refactoring:
Userscripts : Beautifier + Deobfuscator

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel