Created
June 21, 2016 15:24
-
-
Save maximvl/e154a22d5bd74adbce8c6589f4d24c42 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Parsed manually from http://www.file-extensions.org/extensions/common-file-extension-list | |
; with code: | |
; function parseTable(t) { var c = t.children[0].children; var res = "(\"" + t.previousSibling.innerText + "\" . ("; for(e in c) { if(c[e].children == undefined) {continue} res += "\"" + c[e].children[0].children[1].innerText + "\" " } return res + "))";} | |
; tables = jQuery("table"); | |
; res = "'("; tables.each(function(x, tab) { res += parseTable(tab); }); res += ")"; res | |
; | |
'(("Video files" . ("264" "3g2" "3gp" "arf" "asf" "asx" "avi" "bik" "dash" "dat" "dvr" "flv" "h264" "m2t" "m2ts" "m4v" "mkv" "mod" "mov" "mp4" "mpeg" "mpg" "mswmm" "mts" "ogv" "prproj" "rec" "rmvb" "swf" "tod" "tp" "ts" "vob" "webm" "wmv" ))("Audio files" . ("3ga" "aac" "aiff" "amr" "ape" "arf" "asf" "asx" "cda" "dvf" "flac" "gp4" "gp5" "gpx" "logic" "m4a" "m4b" "m4p" "midi" "mp3" "ogg" "pcm" "rec" "snd" "sng" "uax" "wav" "wma" "wpl" "zab" ))("Bitmap images" . ("bmp" "dds" "dib" "dng" "dt2" "emf" "gif" "ico" "icon" "jpeg" "jpg" "pcx" "pic" "png" "psd" "psdx" "raw" "tga" "thm" "tif" "tiff" "wbmp" "wdp" "webp" ))("Digital camera RAW photos" . ("arw" "cr2" "crw" "dcr" "dng" "fpx" "mrw" "nef" "orf" "pcd" "ptx" "raf" "raw" "rw2" ))("Vector graphics" . ("ai" "cdr" "csh" "drw" "emz" "odg" "pic" "sda" "svg" "swf" "wmf" ))("Graphics file types" . ("abr" "ai" "ani" "cdt" "cpt" "djvu" "eps" "fla" "icns" "ico" "icon" "mdi" "odg" "pic" "psb" "psd" "pzl" "sup" "vsdx" ))("3D graphics" . ("3d" "3ds" "c4d" "dgn" "dwfx" "dwg" "dxf" "lcf" "max" "pro" "pts" "skp" "stl" "u3d" "x_t" ))("Font files" . ("eot" "otf" "ttc" "ttf" "woff" ))("Documents" . ("abw" "aww" "chm" "cnt" "dbx" "djvu" "doc" "docm" "docx" "dot" "dotm" "dotx" "epub" "gp4" "ind" "indd" "key" "keynote" "mht" "mpp" "mpt" "odf" "ods" "odt" "ott" "oxps" "pages" "pdf" "pmd" "pot" "potx" "pps" "ppsx" "ppt" "pptm" "pptx" "prn" "prproj" "ps" "pub" "pwi" "rep" "rtf" "sdd" "sdw" "shs" "snp" "sxw" "tpl" "vsd" "wlmp" "wpd" "wps" "wri" "xps" ))("Simple text files" . ("1st" "alx" "application" "asp" "csv" "eng" "htm" "html" "log" "lrc" "lst" "nfo" "opml" "plist" "pts" "reg" "rep" "rtf" "srt" "sub" "tbl" "text" "txt" "xml" "xsd" "xsl" "xslt" ))("E-book files" . ("azw" "azw3" "azw4" "cbr" "cbz" "epub" "fb2" "iba" "ibooks" "lit" "mobi" "pdf" ))("Spreadsheets" . ("numbers" "ods" "sdc" "sxc" "xls" "xlsm" "xlsx" ))("Microsoft Office files" . ("accdb" "accdt" "doc" "docm" "docx" "dot" "dotm" "dotx" "mdb" "mpd" "mpp" "mpt" "oft" "one" "onepkg" "pot" "potx" "pps" "ppsx" "ppt" "pptm" "pptx" "pst" "pub" "snp" "thmx" "vsd" "vsdx" "xls" "xlsm" "xlsx" ))("Game related files" . ("big" "bik" "cab" "dat" "dds" "hi" "lng" "pak" "res" "sav" "save" "SC2Replay" "scn" "scx" "uax" "wotreplay" "wowpreplay" ))("Emulation related files" . ("dat" "g64" "gb" "gba" "mbz" "n64" "nds" "nes" "rom" "smc" "smd" "srm" "v64" ))("Virtualization software related files" . ("ova" "ovf" "pvm" "vdi" "vhd" "vmdk" "vmem" "vmwarevm" "vmx" ))("Internet related files" . ("ashx" "asp" "aspx" "atom" "bc" "bc!" "class" "crdownload" "css" "dlc" "download" "download" "download" "eml" "flv" "gdoc" "gif" "gsheet" "gslides" "htm" "html" "js" "json" "jsp" "mht" "opml" "part" "partial" "php" "png" "rss" "swf" "torrent" "webm" "webp" "xap" "xhtml" "xml" "xsd" "xsl" "xslt" ))("Email files" . ("dbx" "eml" "ldif" "mht" "msg" "pst" "vcf" ))("File extensions blocked by mail clients" . ("app" "asp" "bat" "chm" "cnt" "com" "cpl" "eml" "exe" "gadget" "inf" "js" "lnk" "mdb" "msi" "prg" "reg" "scr" "shs" "tmp" "vbs" ))("Possibly dangerous files" . ("bat" "bin" "chm" "class" "com" "cpl" "dll" "drv" "exe" "jar" "js" "lnk" "ocx" "pcx" "scr" "shs" "swf" "sys" "vbs" "vxd" "wmf" ))("Archives" . ("001" "002" "003" "004" "005" "006" "007" "008" "009" "010" "7z" "7z.001" "7z.002" "7z.003" "7zip" "a00" "a01" "a02" "a03" "a04" "a05" "ace" "air" "apk" "appxbundle" "arc" "arj" "asec" "bar" "bin" "c00" "c01" "c02" "c03" "cab" "cbr" "cbz" "cso" "deb" "dlc" "gz" "gzip" "hqx" "inv" "ipa" "isz" "jar" "msu" "nbh" "pak" "part1.exe" "part1.rar" "part2.rar" "r00" "r01" "r02" "r03" "r04" "r05" "r06" "r07" "r08" "r09" "r10" "rar" "rpm" "sis" "sisx" "sit" "sitd" "sitx" "tar" "tar.gz" "tgz" "uax" "webarchive" "xap" "z01" "z02" "z03" "z04" "z05" "zab" "zip" ))("Backup files" . ("bak" "bbb" "bkf" "bkp" "dbk" "gho" "ipd" "iso" "json" "mdbackup" "nba" "nbf" "nbu" "nco" "nrg" "old" "rar" "rom" "sbf" "sbu" "spb" "tib" "wbcat" "zip" ))("Disk images" . ("000" "bin" "ccd" "cue" "daa" "dao" "dmg" "img" "img" "iso" "isz" "mdf" "mds" "mdx" "nrg" "tao" "tc" "toast" "uif" "vcd" ))("Mobile phone related files" . ("apk" "asec" "bbb" "crypt" "ipa" "ipd" "ipsw" "mdbackup" "nbh" "nbu" "npf" "pkpass" "rem" "rsc" "sbf" "sis" "sisx" "thm" "vcf" "xap" ))("Mobile ringtones" . ("aac" "aiff" "amr" "m4a" "midi" "mp3" "wav" "wma" ))("Financial files" . ("gdb" "ofx" "qif" ))("Database related files" . ("accdb" "accdt" "csv" "db" "dbf" "fdb" "gdb" "idx" "mdb" "mdf" "sdf" "sql" "sqlite" "wdb" "xml" ))("GIS, GPS, map file types" . ("gpx" "kml" "kmz" "map" ))("Program executables" . ("air" "app" "application" "appx" "bat" "bin" "com" "cpl" "deb" "dll" "elf" "exe" "jar" "js" "lnk" "msi" "part1.exe" "prg" "rpm" "shs" "vbs" "xap" ))("System file types" . ("alx" "blf" "cpl" "dat" "dll" "drv" "dump" "evtx" "gadget" "idx" "inf" "kext" "key" "mui" "ocx" "reg" "rom" "scr" "sfcache" "swp" "sys" "vxd" ))("Various presets or theme files" . ("alx" "ccd" "cnf" "contact" "cue" "deskthemepack" "ics" "ifo" "lnk" "lrtemplate" "m3u" "m3u8" "mui" "plist" "pls" "pro" "skn" "svp" "theme" "themepack" "thm" "thmx" "trm" "wba" ))("Plugins" . ("crx" "plugin" "safariextz" "xpi" ))("Source code files" . ("asm" "asp" "aspx" "bat" "htm" "inc" "jad" "java" "js" "json" "jsp" "lib" "o" "php" "rc" "rss" "scpt" "src" "vbs" "xml" "xsd" "xsl" "xslt" ))("Configuration files" . ("cfg" "cnf" "ini" "pro" "reg" "usr" ))("Binary files" . ("dmp" "log" "rom" ))("Encrypted files" . ("asec" "crypt" "ksd" "pfx" "pkpass" "rem" "tc" ))("Temporary files" . ("!ut" "adadownload" "bc" "bc!" "blf" "cache" "crdownload" "dmp" "download" "download" "download" "part" "partial" "temp" "tmp" ))("Various file types" . ("3dr" "cal" "dat" "dct" "dic" "dmp" "eng" "gbk" "lng" "log" "md5" "msmessagestore" "prj" "ref" "rep" "rsc" "tbl" "template" "upd" "upg" ))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment