Recent improvements

236 views
Skip to first unread message

Gareth

unread,
Feb 4, 2009, 4:37:18 AM2/4/09
to Hackvertor
Arrayify now supports several languages and detects types:-
php|js|ruby|java|c|vbscript|perl|python

http://tinyurl.com/d5ubjm

Added a unique tag which will remove any duplicate values very fast:-
http://tinyurl.com/d2aqtk

The param is a regular expression to split the string.

Started work on a JS parser for the next version:-
http://www.businessinfo.co.uk/labs/jsreg/jsreg.html

Gareth

unread,
Feb 4, 2009, 6:28:00 AM2/4/09
to Hackvertor
I forgot the inspector update. It now scans for loads of properties on
IE and FF. This means you can know inspect objects in IE which usually
didn't show up in a for in loop.

If anyone knows a good reference of non-standard properties in Safari,
Chrome, FF, Opera or IE it would be really helpful if you could
provide a link.

On Feb 4, 9:37 am, Gareth <gazhe...@gmail.com> wrote:
> Arrayify now supports several languages and detects types:-
> php|js|ruby|java|c|vbscript|perl|python
>
> http://tinyurl.com/d5ubjm
>
> Added a unique tag which will remove any duplicate values very fast:-http://tinyurl.com/d2aqtk

Gareth

unread,
Feb 4, 2009, 11:45:01 AM2/4/09
to Hackvertor
* Updated the tag syntax to allow single only tags. Like
<@c_maxunicode_0 /> self closing tag.
* Added JS/HTML shortcuts
* Added js variable creation
<http://www.businessinfo.co.uk/labs/hackvertor/hackvertor.php?
input=WWVzIHRoZXNlIGNhbiBhbGwgYmUgdXNlZCBhIGpzIHZhcmlhYmxlcyA6RCwgdGhlcmUgYXJlIG1vcmUgdG9vCjxAanN2YXJpYWJsZV8xKDEwMDAsIDIwMDApIC8%2B>

* Added JSTesting tag to see what your browser supports
<http://www.businessinfo.co.uk/labs/hackvertor/hackvertor.php?
input=PEBqc3Rlc3RfMCAvPg%3D%3D>

Gareth

unread,
Feb 7, 2009, 12:06:05 PM2/7/09
to Hackvertor
* Added HTML inspector
* Added object compare option
This works by placing javascript objects in the input & output window.
The code will attempt to see which properties are not in each other.
For a example enter this into the input:-
obj1={a:1,b:2};

Followed by this in the output:-
obj2={a:1,y:2};

The compare function will then return the properties not in each of
the objects e.g. input will contain y and output will contain b

Gareth

unread,
Feb 9, 2009, 11:21:26 AM2/9/09
to Hackvertor
* Updated jstest tag. It will now show which browsers have replaceable
dom prototypes:-
<http://www.businessinfo.co.uk/labs/hackvertor/hackvertor.php?
input=PEBqc3Rlc3RfMCAvPg%3D%3D>

* Compare improved to examine both objects to see if properties exist
or are different.
* Added ECMAScript 3.1 properties introduced into IE8

If anyone needs or is interested here is my list of Javascript
properties, if you know of any more please post:-

'defineProperty','getOwnPropertyDescriptor','documentElement','contentDocument','contentWindow','defaultView','width','updateInterval','pixelDepth','logicalYDPI','logicalXDPI','height','fontSmoothingEnabled','deviceYDPI','deviceXDPI','colorDepth','bufferDepth','availWidth','availHeight','forward','go','back','statusText','status','responseXML','responseText','readyState','onreadystatechange','setRequestHeader','send','getResponseHeader','getAllResponseHeaders','abort','GetObject','ScriptEngineMinorVersion','ScriptEngineMajorVersion','ScriptEngineBuildVersion','ScriptEngine','getPrototypeOf','stack','lineNumber','fileName','reduceRight','reduce','some','map','every','forEach','filter','trimRight','trimLeft','trim','toLocaleUpperCase','toLocaleLowerCase','quote','localeCompare','arity','callee','caller','length','constructor','prototype','valueOf','toString','toLocaleString','toSource','toJSON','arguments',
'call','propertyIsEnumerable','isPrototypeOf','hasOwnProperty','parent','__parent__','__proto__','__defineSetter','__defineGetter__','__count__','__iterator__','__noSuchMethod__','__lookupGetter__','__lookupSetter__','__caller__',

'watch','unwatch','onpropertychange','dimensions','getItem','lbound','toArray','ubound','global','ignoreCase','multiline',

'source','compile','exec','test','$1','$2','$3','$4','$5','$6','$7','$8','$9','index','input','lastIndex','lastMatch','lastParen','leftContext','rightContext',
'MAX_VALUE','MIN_VALUE','NaN','NEGATIVE_INFINITY','POSITIVE_INFINITY','toExponential','toFixed','toPrecision','abs','acos','asin',
'atan','atan2','ceil','cos','exp','floor','log','max','min','pow','random','round','sin','sqrt','tan','E','LN2','LN10','LOG2E',
'LOG10E','PI','SQRT1_2','SQRT2','stringify','parse','Infinity','undefined','decodeURI','decodeURIComponent','encodeURI','encodeURIComponent',
'escape','eval','isFinite','isNaN','parseFloat','parseInt','unescape','apply','description','message','name','number','atEnd','item',
'moveFirst','moveNext','write','writeln','getDate','getDay','getFullYear','getHours','getMilliseconds','getMinutes','getMonth','getSeconds','getTime',
'getTimezoneOffset','getUTCDate','getUTCDay','getUTCFullYear','getUTCHours','getUTCMilliseconds','getUTCMinutes','getUTCMonth','getUTCSeconds','getVarDate',
'getYear','setDate','setFullYear','setHours','setMilliseconds','setMinutes','setMonth','setSeconds','setTime','setUTCDate','setUTCFullYear','setUTCHours',
'setUTCMilliseconds','setUTCMinutes','setUTCMonth','setUTCSeconds','setYear','toDateString','toGMTString','toLocaleDateString','toLocaleTimeString',
'toTimeString','toUTCString','UTC','concat','join','pop','push','reverse','shift','slice','sort','splice','unshift','anchor','big','blink','bold','charAt',
'charCodeAt','fixed','fontcolor','fontsize','fromCharCode','indexOf','italics','lastIndexOf','link','match','replace','search',

'small','split','strike','sub','substr','substring','sup','toLowerCase','toUpperCase','all','anchors','applets','areas','attributes','behaviorUrns','blockFormats','boundElements','cells','childNodes','children','controlRange','elements','embeds','filters','fonts','forms','frames','images','imports','links','mimeTypes','namespaces','options','pages','plugins','rows','rules','scripts','styleSheets','tBodies','add','addBehavior','AddChannel','AddDesktopComponent','addElement','AddFavorite','addImport','addPageRule','addReadRequest','addRule','alert','appendChild','appendData','applyElement','assign','atan','attachEvent','AutoCompleteSaveForm','AutoScan','blur','charCodeAt','ChooseColorDlg','clear','clearAttributes','clearData','clearInterval','clearRequest','clearTimeout','click','cloneNode','close','collapse','compareEndPoints','componentFromPoint','confirm','contains','createAttribute','createCaption','createComment','createControlRange','createDocumentFragment','createElement','createEventObject','createPopup','createRange','createStyleSheet','createTextNode','createTextRange','createTFoot','createTHead','deleteCaption','deleteCell','deleteData','deleteRow','deleteTFoot','deleteTHead','detachEvent','doImport','doReadRequest','doScroll','dragDrop','duplicate','elementFromPoint','empty','escape','execCommand','execScript','findText','fireEvent','firstPage','focus','fontColor','fontSize','getAdjacentText','getAttribute','getAttributeNode','getBookmark','getCharset','getClientRects','getData','getElementById','getElementsByName','getElementsByTagName','getExpression','getNamedItem','getTimezoneOffset','getYear','hasChildNodes','hasFocus','hide','ImportExportFavorites','inRange','insertAdjacentElement','insertAdjacentText','insertBefore','insertCell','insertData','insertRow','isEqual','IsSubscribed','javaEnabled','lastPage','mergeAttributes','move','moveBy','moveEnd','moveRow','moveStart','moveTo','moveToBookmark','moveToElementText','moveToPoint','namedItem','namedRecordset','navigate','NavigateAndFind','nextPage','normalize','open','parentElement','pasteHTML','previousPage','print','prompt','queryCommandEnabled','queryCommandIndeterm','queryCommandState','queryCommandValue','recalc','refresh','plugin','releaseCapture','remove','removeAttribute','removeAttributeNode','removeBehavior','removeChild','removeExpression','removeNode','removeRule','location','String','replaceChild','replaceData','replaceNode','reset','resizeBy','scroll','scrollBy','scrollIntoView','scrollTo','select','form','control','setActive','setAttributeNode','setCapture','setExpression','setTimeout','setUTCMilliseconds','show','ShowBrowserUI','showHelp','showModalDialog','showModelessDialog','small','splitText','start','stop','submit','substringData','swapNode','tags','taintEnabled','urns','Array','attribute','Boolean','clientInformation','clipboardData','currentStyle','dataTransfer','Date','defaults','Dialog','Helper','document','event','external','history','implementation','Math','mimeType','namespace','navigator','Number','Object','page','popup','rule','runtimeStyle','screen','selection','style','styleSheet','TextNode','TextRange','TextRectangle','userProfile','window','abbr','align','allowTransparency','appMinorVersion','availLeft','BaseHref','borderColor','boundingLeft','cancelBubble','cellSpacing','clientY','code','cols','cookieEnabled','ctrlKey','dataFld','defaultCharset','dialogLeft','doctype','effectAllowed','fgColor','fileUpdatedDate','frameElement','headers','hostname','httpEquiv','isContentEditable','keyCode','lastModified','LOG10E','lowsrc','Methods','noHref','offsetHeight','offsetY','ownerDocument','profile','readOnly','rel','rowIndex','scheme','screenX','scrollHeight','selected','shiftKey','sourceIndex','srcElement','tabStop','text','body','title','trueSpeed','type','textarea','URLUnencoded','vAlign','table','value','viewMasterTab','XMLDocument'
Reply all
Reply to author
Forward
0 new messages