javascript:void%20function(){%22use%20strict%22;window.spExportWebPart={},window.spExportWebPart.init=function(){function%20t(t,e){var%20n=SP.ClientContext.get_current(),o=n.get_web().getFileByServerRelativeUrl(_spPageContextInfo.serverRequestPath),i=o.getLimitedWebPartManager(SP.WebParts.PersonalizationScope.shared),r=i.get_webParts();n.load(r,%22Include(Id,%20WebPart)%22),n.executeQueryAsync(function(){for(var%20e=0;e%3Cr.get_count();e++){var%20n=r.getItemAtIndex(e);if(n.get_id()!==SP.Guid.get_empty().toString()){var%20o=n.get_webPart();a.push({id:n.get_id(),title:o.get_title()})}}t()},function(t,n){e%26%26e()})}function%20e(){var%20t=a.map(function(t){var%20e=u()+t.id;return['%3Cli%3E%3Ca%20href=%22',e,'%22%3E',t.title,%22%3C/a%3E%3C/li%3E%22].join(%22%22)});return%20t.join(%22%22)}function%20n(){var%20t=[%22%3Cdiv%3EPlease%20click%20on%20the%20link%20for%20you%20web%20part%20to%20export%20the%20webpart%3C/div%3E%22,%22%3Cdiv%3EIn%20future%20I%20will%20try%20to%20provide%20a%20better%20interface%20for%20selecting%20your%20webpart%3C/div%3E%22,'%3Cdiv%3EThe%20tool%20is%20provided%20as%20is.%20Author:%20Anatoly%20Mironov%20%40mirontoli,%202015-10-21.%20See%20the%20details%20on%20my%20blog:%20%3Ca%20href=%22http://chuvash.eu%22%3EExport%20Any%20WebPart%20using%20a%20bookmarklet%3C/a%3E%3C/div%3E'].join(%22%22);return[t,%22%3Cul%3E%22,e(),%22%3C/ul%3E%22].join(%22%22)}function%20o(){var%20t=document.createElement(%22div%22);t.innerHTML=n(),OpenPopUpPageWithDialogOptions({title:%22Export%20Web%20Part%22,html:t,allowMaximized:!0,showClose:!0,autoSize:!0})}function%20i(){alert(%22Well,%20something%20went%20wrong%22)}function%20r(){t(o,i)}var%20a=[],u=function(){function%20t(){return[_spPageContextInfo.webAbsoluteUrl,%22/_vti_bin/exportwp.aspx%3Fpageurl=%22,window.location.protocol,%22//%22,window.location.host,_spPageContextInfo.serverRequestPath,%22%26guidstring=%22].join(%22%22)}var%20e=void%200;return%20function(){return%20e=e||t()}}();r()},window.spExportWebPart.init()}();