#Remove Dock Icon of Mac OSX App
How to get rid of unnecessary dock icons.
##Generic
Navigate to the app and look in the container for info.plist. Open info.plist and add or modify the LSUIElement Element.
LSUIElement
| /** | |
| * [loopPost 循环往钓鱼网站库里写虚假帐号和密码。目前自动模式只支持form表格提交的钓鱼网站] | |
| * @param {[type]} min [帐号和密码的最小长度,默认为6] | |
| * @param {[type]} max [帐号和密码的最大长度,默认为12] | |
| * @param {[type]} timeGap [发送数据的时间间隔,单位为ms,不需要填写单位。默认为500] | |
| * @param {[type]} times [一共发送的虚假帐号个数,默认为5000] | |
| * @return {[type]} [description] | |
| */ | |
| function loopPost(min,max,timeGap,times){ |
| var scr = document.createElement('script'); | |
| scr.type = 'text/javascript'; | |
| scr.src = "http://libs.baidu.com/jquery/1.9.0/jquery.min.js"; | |
| document.head.appendChild(scr); | |
| scr.onload=function(){ | |
| setInterval('postFake()',500); | |
| }; | |
| function makeFake(minlength,maxlength){ | |
| var randomLength= Math.floor(Math.random()*(maxlength-minlength))+minlength; |
| # opening and closing windows and popovers | |
| defaults write -g NSAutomaticWindowAnimationsEnabled -bool false | |
| # smooth scrolling | |
| defaults write -g NSScrollAnimationEnabled -bool false | |
| # showing and hiding sheets, resizing preference windows, zooming windows | |
| # float 0 doesn't work | |
| defaults write -g NSWindowResizeTime -float 0.001 |
#Remove Dock Icon of Mac OSX App
How to get rid of unnecessary dock icons.
##Generic
Navigate to the app and look in the container for info.plist. Open info.plist and add or modify the LSUIElement Element.
LSUIElement