JAVASCRIPT 12
Search_config.js Guest on 15th October 2020 04:12:47 PM
  1.         var aliasConfig = {
  2. appName : ["", "", ""],
  3. totalPageCount : [],
  4. largePageWidth : [],
  5. largePageHeight : [],
  6. normalPath : [],
  7. largePath : [],
  8. thumbPath : [],
  9.  
  10. ToolBarsSettings:[],
  11. TitleBar:[],
  12. appLogoIcon:["appLogoIcon"],
  13. appLogoLinkURL:["appLogoLinkURL"],
  14. bookTitle : [],
  15. bookDescription : [],
  16. ButtonsBar : [],
  17. ShareButton : [],
  18. ShareButtonVisible : ["socialShareButtonVisible"],
  19. ThumbnailsButton : [],
  20. ThumbnailsButtonVisible : ["enableThumbnail"],
  21. ZoomButton : [],
  22. ZoomButtonVisible : ["enableZoomIn"],
  23. FlashDisplaySettings : [],
  24. MainBgConfig : [],
  25. bgBeginColor : ["bgBeginColor"],
  26. bgEndColor : ["bgEndColor"],
  27. bgMRotation : ["bgMRotation"],
  28. backGroundImgURL : ["mainbgImgUrl","innerMainbgImgUrl"],
  29. pageBackgroundColor : ["pageBackgroundColor"],
  30. flipshortcutbutton : [],
  31. BookMargins : [],
  32. topMargin : [],
  33. bottomMargin : [],
  34. leftMargin : [],
  35. rightMargin : [],
  36. HTMLControlSettings : [],
  37. linkconfig : [],
  38. LinkDownColor : ["linkOverColor"],
  39. LinkAlpha : ["linkOverColorAlpha"],
  40. OpenWindow : ["linkOpenedWindow"],
  41. searchColor : [],
  42. searchAlpha : [],
  43. SearchButtonVisible : ["searchButtonVisible"],
  44.  
  45. productName : [],
  46. homePage : [],
  47. enableAutoPlay : ["autoPlayAutoStart"],
  48. autoPlayDuration : ["autoPlayDuration"],
  49. autoPlayLoopCount : ["autoPlayLoopCount"],
  50. BookMarkButtonVisible : [],
  51. googleAnalyticsID : ["googleAnalyticsID"],
  52. OriginPageIndex : [],  
  53. HardPageEnable : ["isHardCover"],      
  54. UIBaseURL : [],
  55. RightToLeft: ["isRightToLeft"],
  56.  
  57. LeftShadowWidth : ["leftPageShadowWidth"],     
  58. LeftShadowAlpha : ["pageShadowAlpha"],
  59. RightShadowWidth : ["rightPageShadowWidth"],
  60. RightShadowAlpha : ["pageShadowAlpha"],
  61. ShortcutButtonHeight : [],     
  62. ShortcutButtonWidth : [],
  63. AutoPlayButtonVisible : ["enableAutoPlay"],    
  64. DownloadButtonVisible : ["enableDownload"],    
  65. DownloadURL : ["downloadURL"],
  66. HomeButtonVisible :["homeButtonVisible"],
  67. HomeURL:['btnHomeURL'],
  68. BackgroundSoundURL:['bacgroundSoundURL'],
  69. //TableOfContentButtonVisible:["BookMarkButtonVisible"],
  70. PrintButtonVisible:["enablePrint"],
  71. toolbarColor:["mainColor","barColor"],
  72. loadingBackground:["mainColor","barColor"],
  73. BackgroundSoundButtonVisible:["enableFlipSound"],
  74. FlipSound:["enableFlipSound"],
  75. MiniStyle:["userSmallMode"],
  76. retainBookCenter:["moveFlipBookToCenter"],
  77. totalPagesCaption:["totalPageNumberCaptionStr"],
  78. pageNumberCaption:["pageIndexCaptionStrs"]
  79. };
  80. var aliasLanguage={
  81. frmPrintbtn:["frmPrintCaption"],
  82. frmPrintall : ["frmPrintPrintAll"],
  83. frmPrintcurrent : ["frmPrintPrintCurrentPage"],
  84. frmPrintRange : ["frmPrintPrintRange"],
  85. frmPrintexample : ["frmPrintExampleCaption"],
  86. btnLanguage:["btnSwicthLanguage"],
  87. btnTableOfContent:["btnBookMark"]
  88. }
  89. ;
  90.         var bookConfig = {
  91.         appName:'flippdf',
  92.         totalPageCount : 0,
  93.         largePageWidth : 1080,
  94.         largePageHeight : 1440,
  95.         normalPath : "files/page/",
  96.         largePath : "files/large/",
  97.         thumbPath : "files/thumb/",
  98.        
  99.         ToolBarsSettings:"",
  100.         TitleBar:"",
  101.         appLogoLinkURL:"",
  102.         bookTitle:"FLIPBUILDER",
  103.         bookDescription:"",
  104.         ButtonsBar:"",
  105.         ShareButton:"",
  106.        
  107.         ThumbnailsButton:"",
  108.         ThumbnailsButtonVisible:"Show",
  109.         ZoomButton:"",
  110.         ZoomButtonVisible:"Yes",
  111.         FlashDisplaySettings:"",
  112.         MainBgConfig:"",
  113.         bgBeginColor:"#cccccc",
  114.         bgEndColor:"#eeeeee",
  115.         bgMRotation:45,
  116.         pageBackgroundColor:"#FFFFFF",
  117.         flipshortcutbutton:"Show",
  118.         BookMargins:"",
  119.         topMargin:10,
  120.         bottomMargin:10,
  121.         leftMargin:10,
  122.         rightMargin:10,
  123.         HTMLControlSettings:"",
  124.         linkconfig:"",
  125.         LinkDownColor:"#808080",
  126.         LinkAlpha:0.5,
  127.         OpenWindow:"_Blank",
  128.  
  129.         BookMarkButtonVisible:'true',
  130.         productName : 'Demo created by Flip PDF',
  131.         homePage : 'http://www.flipbuilder.com/',
  132.         isFlipPdf : "true",
  133.         TableOfContentButtonVisible:"true",
  134.         searchTextJS:'javascript/search_config.js',
  135.         searchPositionJS:undefined
  136. };
  137.        
  138.        
  139.        
  140. bookConfig.loadingCaptionColor="#DDDDDD";
  141. bookConfig.loadingBackground="#1F2232";
  142. bookConfig.appLogoIcon="./files/mobile-ext/appLogoIcon.png";
  143. bookConfig.appLogoLinkURL="http://www.salesiansireland.ie/";
  144. bookConfig.appLogoOpenWindow="Blank";
  145. bookConfig.logoHeight="25";
  146. bookConfig.logoPadding="10";
  147. bookConfig.logoTop="8";
  148. bookConfig.toolbarColor="#444444";
  149. bookConfig.iconColor="#FFFFFF";
  150. bookConfig.pageNumColor="#000000";
  151. bookConfig.iconFontColor="#FFFFFF";
  152. bookConfig.toolbarAlwaysShow="No";
  153. bookConfig.formFontColor="#FFFFFF";
  154. bookConfig.formBackgroundColor="#864302";
  155. bookConfig.ToolBarAlpha="1";
  156. bookConfig.showBookInstructionOnStart="false";
  157. bookConfig.InstructionsButtonVisible="Show";
  158. bookConfig.showInstructionOnStart="No";
  159. bookConfig.showGotoButtonsAtFirst="No";
  160. bookConfig.QRCode="Hide";
  161. bookConfig.HomeButtonVisible="YES";
  162. bookConfig.HomeURL="http://www.salesiansireland.ie/the-salesian-bulletin/salesian-bulletin-2019/";
  163. bookConfig.enablePageBack="Show";
  164. bookConfig.ShareButtonVisible="Show";
  165. shareObj = [];
  166. bookConfig.isInsertFrameLinkEnable="Show";
  167. bookConfig.addCurrentPage="No";
  168. bookConfig.EmailButtonVisible="Show";
  169. bookConfig.btnShareWithEmailBody="\{link\}";
  170. bookConfig.ThumbnailsButtonVisible="Show";
  171. bookConfig.thumbnailColor="#333333";
  172. bookConfig.thumbnailAlpha="70";
  173. bookConfig.BookMarkButtonVisible="Show";
  174. bookConfig.TableOfContentButtonVisible="Hide";
  175. bookConfig.isHideTabelOfContentNodes="No";
  176. bookConfig.SearchButtonVisible="Show";
  177. bookConfig.leastSearchChar="3";
  178. bookConfig.searchKeywordFontColor="#FFB000";
  179. bookConfig.searchHightlightColor="#FFFF00";
  180. bookConfig.SelectTextButtonVisible="NO";
  181. bookConfig.PrintButtonVisible="No";
  182. bookConfig.BackgroundSoundButtonVisible="Enable";
  183. bookConfig.FlipSound="No";
  184. bookConfig.BackgroundSoundLoop="-1";
  185. bookConfig.AutoPlayButtonVisible="Yes";
  186. bookConfig.autoPlayAutoStart="No";
  187. bookConfig.autoPlayDuration="3";
  188. bookConfig.autoPlayLoopCount="1";
  189. bookConfig.ZoomButtonVisible="Yes";
  190. bookConfig.maxZoomWidth="0";
  191. bookConfig.defaultZoomWidth="0";
  192. bookConfig.mouseWheelFlip="Yes";
  193. bookConfig.ZoomMapVisible="Hide";
  194. bookConfig.DownloadButtonVisible="Hide";
  195. bookConfig.PhoneButtonVisible="Hide";
  196. bookConfig.AnnotationButtonVisible="Disable";
  197. bookConfig.FullscreenButtonVisible="Show";
  198. bookConfig.MagnifierButtonVisible="Hide";
  199. bookConfig.bgBeginColor="#998957";
  200. bookConfig.bgEndColor="#998757";
  201. bookConfig.bgMRotation="90";
  202. bookConfig.backGroundImgURL="./files/mobile-ext/backGroundImgURL.jpg";
  203. bookConfig.backgroundPosition="stretch";
  204. bookConfig.backgroundOpacity="100";
  205. bookConfig.backgroundScene="None";
  206. bookConfig.LeftShadowWidth="90";
  207. bookConfig.LeftShadowAlpha="0.6";
  208. bookConfig.RightShadowWidth="55";
  209. bookConfig.RightShadowAlpha="0.6";
  210. bookConfig.ShowTopLeftShadow="Yes";
  211. bookConfig.HardPageEnable="No";
  212. bookConfig.hardCoverBorderWidth="8";
  213. bookConfig.borderColor="#572F0D";
  214. bookConfig.outerCoverBorder="Yes";
  215. bookConfig.cornerRound="8";
  216. bookConfig.leftMarginOnMobile="0";
  217. bookConfig.topMarginOnMobile="0";
  218. bookConfig.rightMarginOnMobile="0";
  219. bookConfig.bottomMarginOnMobile="0";
  220. bookConfig.pageBackgroundColor="#FFFFFF";
  221. bookConfig.flipshortcutbutton="Show";
  222. bookConfig.BindingType="side";
  223. bookConfig.RightToLeft="No";
  224. bookConfig.FlipDirection="0";
  225. bookConfig.flippingTime="0.6";
  226. bookConfig.retainBookCenter="Yes";
  227. bookConfig.FlipStyle="Flip";
  228. bookConfig.autoDoublePage="Yes";
  229. bookConfig.isTheBookOpen="No";
  230. bookConfig.thicknessWidthType="None";
  231. bookConfig.thicknessColor="#FFFFFF";
  232. bookConfig.SingleModeBanFlipToLastPage="No";
  233. bookConfig.showThicknessOnMobile="No";
  234. bookConfig.isSingleBookFullWindowOnMobile="no";
  235. bookConfig.isStopMouseMenu="yes";
  236. bookConfig.restorePageVisible="No";
  237. bookConfig.topMargin="10";
  238. bookConfig.bottomMargin="10";
  239. bookConfig.leftMargin="10";
  240. bookConfig.rightMargin="10";
  241. bookConfig.hideMiniFullscreen="true";
  242. bookConfig.maxWidthToSmallMode="400";
  243. bookConfig.maxHeightToSmallMode="300";
  244. bookConfig.leftRightPnlShowOption="None";
  245. bookConfig.highDefinitionConversion="yes";
  246. bookConfig.LargeLogoPosition="top-left";
  247. bookConfig.LargeLogoTarget="Blank";
  248. bookConfig.isFixLogoSize="YES";
  249. bookConfig.logoFixWidth="20px";
  250. bookConfig.logoFixHeight="20px";
  251. bookConfig.SupportOperatePageZoom="Yes";
  252. bookConfig.showHelpContentAtFirst="No";
  253. bookConfig.updateURLForPage="No";
  254. bookConfig.LinkDownColor="#800080";
  255. bookConfig.LinkAlpha="0.2";
  256. bookConfig.OpenWindow="Blank";
  257. bookConfig.showLinkHint="No";
  258.  
  259. bookConfig.macBookVersion = "PJTaovDLYcosMKWTjhIIYWmoHHXcuoAIXdnnMLWRupJJfXglNHTdktHOXcoqMDeYgmEIUUkjACaYrpFGQcliAKfWlo0D7EC347_";
  260. bookConfig.Html5Template = "Metro";
  261. bookConfig.UIBaseURL="mobile/";
  262. bookConfig.isFlipPdf=false;
  263. bookConfig.searchTextJS="mobile/javascript/search_config.js";
  264. bookConfig.searchPositionJS="mobile/javascript/text_position[1].js";
  265. bookConfig.totalPageCount=24;
  266. bookConfig.largePageWidth=608;
  267. bookConfig.largePageHeight=571;
  268. bookConfig.bookTitle="2019 Oct-Dec Bulletin";
  269. bookConfig.normalPath="./files/mobile/";
  270. bookConfig.largePath="./files/mobile/";
  271. bookConfig.productName="FlipBook Creator for Mac";
  272. bookConfig.useTheAliCloudChart=false;
  273. bookConfig.MidBgColor="#a180c5";
  274. bookConfig.bookmarkCR = "98aab4b1a24d672d311b755cb76aa44287d96b06";
  275. ;function orgt(s){ return binl2hex(core_hx(str2binl(s), s.length * chrsz));};
  276. bookConfig.thumbPath="./files/thumb/";
  277. var fliphtml5_pages=[{"l":"./files/mobile/1.jpg","n":"./files/mobile/1.jpg","t":"./files/thumb/1.jpg"},{"l":"./files/mobile/2.jpg","n":"./files/mobile/2.jpg","t":"./files/thumb/2.jpg"},{"l":"./files/mobile/3.jpg","n":"./files/mobile/3.jpg","t":"./files/thumb/3.jpg"},{"l":"./files/mobile/4.jpg","n":"./files/mobile/4.jpg","t":"./files/thumb/4.jpg"},{"l":"./files/mobile/5.jpg","n":"./files/mobile/5.jpg","t":"./files/thumb/5.jpg"},{"l":"./files/mobile/6.jpg","n":"./files/mobile/6.jpg","t":"./files/thumb/6.jpg"},{"l":"./files/mobile/7.jpg","n":"./files/mobile/7.jpg","t":"./files/thumb/7.jpg"},{"l":"./files/mobile/8.jpg","n":"./files/mobile/8.jpg","t":"./files/thumb/8.jpg"},{"l":"./files/mobile/9.jpg","n":"./files/mobile/9.jpg","t":"./files/thumb/9.jpg"},{"l":"./files/mobile/10.jpg","n":"./files/mobile/10.jpg","t":"./files/thumb/10.jpg"},{"l":"./files/mobile/11.jpg","n":"./files/mobile/11.jpg","t":"./files/thumb/11.jpg"},{"l":"./files/mobile/12.jpg","n":"./files/mobile/12.jpg","t":"./files/thumb/12.jpg"},{"l":"./files/mobile/13.jpg","n":"./files/mobile/13.jpg","t":"./files/thumb/13.jpg"},{"l":"./files/mobile/14.jpg","n":"./files/mobile/14.jpg","t":"./files/thumb/14.jpg"},{"l":"./files/mobile/15.jpg","n":"./files/mobile/15.jpg","t":"./files/thumb/15.jpg"},{"l":"./files/mobile/16.jpg","n":"./files/mobile/16.jpg","t":"./files/thumb/16.jpg"},{"l":"./files/mobile/17.jpg","n":"./files/mobile/17.jpg","t":"./files/thumb/17.jpg"},{"l":"./files/mobile/18.jpg","n":"./files/mobile/18.jpg","t":"./files/thumb/18.jpg"},{"l":"./files/mobile/19.jpg","n":"./files/mobile/19.jpg","t":"./files/thumb/19.jpg"},{"l":"./files/mobile/20.jpg","n":"./files/mobile/20.jpg","t":"./files/thumb/20.jpg"},{"l":"./files/mobile/21.jpg","n":"./files/mobile/21.jpg","t":"./files/thumb/21.jpg"},{"l":"./files/mobile/22.jpg","n":"./files/mobile/22.jpg","t":"./files/thumb/22.jpg"},{"l":"./files/mobile/23.jpg","n":"./files/mobile/23.jpg","t":"./files/thumb/23.jpg"},{"l":"./files/mobile/24.jpg","n":"./files/mobile/24.jpg","t":"./files/thumb/24.jpg"}];
  278. var language=[{"language" : "English","btnFirstPage" : "First","btnNextPage" : "Next","btnLastPage" : "Last","btnPrePage" : "Previous","btnGoToHome" : "Home","btnDownload" : "Download","btnSoundOn" : "Sound On","btnSoundOff" : "Sound Off","btnPrint" : "Print","btnThumb" : "Thumbnails","btnBookMark" : "Bookmark","frmBookMark" : "Bookmark","btnZoomIn" : "Zoom In","btnZoomOut" : "Zoom Out","btnAutoFlip" : "Auto Flip","btnStopAutoFlip" : "Stop Auto Flip","btnSocialShare" : "Share","btnHelp" : "Help","btnAbout" : "About","btnSearch" : "Search","btnFullscreen" : "Fullscreen","btnExitFullscreen" : "Exit Fullscreen","btnMore" : "More","frmPrintCaption" : "Print","frmPrintall" : "Print All Pages","frmPrintcurrent" : "Print Current Page","frmPrintRange" : "Print Range","frmPrintexample" : "Example: 2,3,5-10","frmPrintbtn" : "Print","frmShareCaption" : "Share","frmShareLabel" : "Share","frmShareInfo" : "You can easily share this publication to social networks.Just click the appropriate button below","frminsertLabel" : "Insert to Site","frminsertInfo" : "Use the code below to embed this publication to your website.","frmaboutcaption" : "Contact","frmaboutcontactinformation" : "Contact Information","frmaboutADDRESS" : "Address","frmaboutEMAIL" : "Email","frmaboutWEBSITE" : "Website","frmaboutMOBILE" : "Mobile","frmaboutAUTHOR" : "Author","frmaboutDESCRIPTION" : "Description","frmSearch" : "Search","frmToc" : "Table Of Contents","btnTableOfContent" : "Table Of Contents","btnNote" : "Annotation","lblLast" : "This is the last page.","lblFirst" : "This is the first page.","lblFullscreen" : "Click to view in fullscreen","lblName" : "Name","lblPassword" : "Password","lblLogin" : "Login","lblCancel" : "Cancel","lblNoName" : "User name can not be empty.","lblNoPassword" : "Password can not be empty.","lblNoCorrectLogin" : "Please enter the correct user name and password.","btnVideo" : "Video Gallery","btnSlideShow" : "Slideshow","pnlSearchInputInvalid" : "The search text is too short.","btnDragToMove" : "Move by mouse drag","btnPositionToMove" : "Move by mouse position","lblHelp1" : "Drag the page corner to view","lblHelp2" : "Double click to zoom in, out","lblCopy" : "Copy","lblAddToPage" : "Add To Page","lblPage" : "Page","lblTitle" : "Title","lblEdit" : "Edit","lblDelete" : "Delete","lblRemoveAll" : "Remove All","tltCursor" : "Cursor","tltAddHighlight" : "Add highlight","tltAddTexts" : "Add texts","tltAddShapes" : "Add shapes","tltAddNotes" : "Add notes","tltAddImageFile" : "Add image file","tltAddSignature" : "Add signature","tltAddLine" : "Add line","tltAddArrow" : "Add arrow","tltAddRect" : "Add rect","tltAddEllipse" : "Add ellipse","lblDoubleClickToZoomIn" : "Double click to zoom in.","lblPages" : "Pages","infCopyToClipboard" : "Your browser dose not support clipboard, please do it yourself.","lblDescription" : "Title","frmLinkLabel" : "Link","infNotSupportHtml5" : "Your browser does not support HTML5.","frmHowToUse" : "How To Use","lblHelpPage1" : "Move your finger to flip the book page.","lblHelpPage2" : "Zoom in by using gesture or double click on the page.","lblHelpPage3" : "Click to view the table of content, bookmarks and share your books via social networks.","lblHelpPage4" : "Add bookmarks, use search function and auto flip the book.","lblHelpPage5" : "Open the thumbnails to overview all book pages.","frmQrcodeCaption" : "Scan the bottom two-dimensional code to view with mobile phone."}];var pageEditor =[[],[{annotype:"com.mobiano.flipbook.pageeditor.TAnnoLink",location:{x:"0.112739",y:"0.867708",width:"0.070309",height:"0.009612"},action:{triggerEventType:"mouseDown",actionType:"com.mobiano.flipbook.pageeditor.TAnnoActionOpenURL",url:"mailto:[email protected]"}},{annotype:"com.mobiano.flipbook.pageeditor.TAnnoLink",location:{x:"0.104921",y:"0.878532",width:"0.158465",height:"0.009612"},action:{triggerEventType:"mouseDown",actionType:"com.mobiano.flipbook.pageeditor.TAnnoActionOpenURL",url:"http://homepage.eircom.net/~sdbmedia"}},{annotype:"com.mobiano.flipbook.pageeditor.TAnnoLink",location:{x:"0.660171",y:"0.918259",width:"0.081559",height:"0.011150"},action:{triggerEventType:"mouseDown",actionType:"com.mobiano.flipbook.pageeditor.TAnnoActionOpenURL",url:"mailto:[email protected]"}}],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[{annotype:"com.mobiano.flipbook.pageeditor.TAnnoLink",location:{x:"0.143602",y:"0.495761",width:"0.217892",height:"0.018263"},action:{triggerEventType:"mouseDown",actionType:"com.mobiano.flipbook.pageeditor.TAnnoActionOpenURL",url:"https://www.cnet.com/news/"}}],[],[],[],[{annotype:"com.mobiano.flipbook.pageeditor.TAnnoLink",location:{x:"0.683803",y:"0.756895",width:"0.203790",height:"0.018263"},action:{triggerEventType:"mouseDown",actionType:"com.mobiano.flipbook.pageeditor.TAnnoActionOpenURL",url:"mailto:[email protected]"}}],[]]
  279. var pages_information =[{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}];;
  280.         bookConfig.hideMiniFullscreen=true;
  281.         if(language&&language.length>0&&language[0]&&language[0].language){
  282.                 bookConfig.language=language[0].language;
  283.         }
  284.        
  285. try{
  286.         for(var i=0;pageEditor!=undefined&&i<pageEditor.length;i++){
  287.                 if(pageEditor[i].length==0){
  288.                         continue;
  289.                 }
  290.                 for(var j=0;j<pageEditor[i].length;j++){
  291.                         var anno=pageEditor[i][j];
  292.                         if(anno==undefined)continue;
  293.                         if(anno.overAlpha==undefined){
  294.                                 anno.overAlpha=bookConfig.LinkAlpha;
  295.                         }
  296.                         if(anno.outAlpha==undefined){
  297.                                 anno.outAlpha=0;
  298.                         }
  299.                         if(anno.downAlpha==undefined){
  300.                                 anno.downAlpha=bookConfig.LinkAlpha;
  301.                         }
  302.                         if(anno.overColor==undefined){
  303.                                 anno.overColor=bookConfig.LinkDownColor;
  304.                         }
  305.                         if(anno.downColor==undefined){
  306.                                 anno.downColor=bookConfig.LinkDownColor;
  307.                         }
  308.                         if(anno.outColor==undefined){
  309.                                 anno.outColor=bookConfig.LinkDownColor;
  310.                         }
  311.                         if(anno.annotype=='com.mobiano.flipbook.pageeditor.TAnnoLink'){
  312.                                 anno.alpha=bookConfig.LinkAlpha;
  313.                         }
  314.                 }
  315.         }
  316. }catch(e){
  317. }
  318. try{
  319.         $.browser.device = 2;
  320. }catch(ee){
  321. }

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.