PageSourceSearch

https://boring.host/_nuxt/16fe0354073ffbf5d4c0.js

js boring.host collected 2026-10-04 01:51:32 UTC 3,421 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{207:function(e,o,t){"use strict";t.r(o);t(12),t(8),t(36);var n=t(187),r={components:{Dropzone:t.n(n).a},data:function(){return{album:null,images:[],fileIndex:0,totalFiles:0,dropzoneOptions:{url:"https://api.boring.host/api/v1/upload",maxFiles:20,uploadMultiple:!0,parallelUploads:1,acceptedFiles:"image/jpeg,image/png,image/gif",dictDefaultMessage:"Drop or paste your image(s) here <br/> jpg, png or gif",autoProcessQueue:!1,params:{api_token:this.$auth.user?this.$auth.user.api_token:null}}}},beforeDestroy:function(){window.removeEventListener("dragover",this.dropzoneDragover),window.removeEventListener("drop",this.dropzoneDrop),document.removeEventListener("paste",this.pasteImage)},mounted:function(){var e=this,o=this.$refs.drop.dropzone;o.autoDiscover=!1,window.addEventListener("dragover",this.dropzoneDragover),window.addEventListener("drop",this.dropzoneDrop),document.addEventListener("paste",this.pasteImage),o.on("success",(function(o,t){e.images.push(t.images[0]),e.processedFile(o,t),e.$auth.user||db.images.add({code:t.images[0].code,manage_token:t.images[0].manage_token})})),o.on("error",this.processedFile),o.on("complete",(function(){if(e.fileIndex===e.totalFiles){if(e.album)return e.$router.push("album/"+e.album.code);e.images[0]&&e.$router.push(e.images[0].code)}}));var t=!0;o.on("addedfiles",(function(n){if(!t)return!1;o.options.maxFiles=n.length,e.totalFiles=n.length,t=!1,n.length>1?e.$axios.post("album/create").then((function(t){e.album=t.data.data,e.$auth.user?o.options.params={api_token:e.$auth.user.api_token,album:e.album.code}:(o.options.params={album:e.album.code,album_manage_token:e.album.manage_token},db.albums.add({code:e.album.code,manage_token:e.album.manage_token})),o.processQueue()})):setTimeout((function(){return o.processQueue()}),10)}))},head:function(){return{title:"Boring.host - Free uncompressed image hosting"}},methods:{processedFile:function(e,o){this.$refs.drop.dropzone.processQueue(),(o.message||o.errors)&&(document.querySelectorAll(".dz-error-message span")[this.fileIndex].innerText=o.message?o.message:o.errors[Object.keys(o.errors)[0]]),this.fileIndex++},dropzoneDrop:function(e){e.preventDefault(),this.$refs.drop.dropzone.drop(e)},dropzoneDragover:function(e){e.preventDefault()},pasteImage:function(e){var o=this.$refs.drop.dropzone;if("/"===window.location.pathname){for(var t=(event.clipboardData||event.originalEvent.clipboardData).items,n=null,i=0;i<t.length;i++)0===t[i].type.indexOf("image")&&(n=t[i].getAsFile());if(null!==n)(new FileReader).readAsDataURL(n),o.addFile(n),this.totalFiles=1,setTimeout((function(){o.processQueue()}),10);else this.$toast.error("Your clipboard does not contain an image",{duration:1500})}}}},d=t(10),component=Object(d.a)(r,(function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("section",{staticClass:"home container"},[t("h1",[e._v("Boring.host")]),e._v(" "),t("h2",[e._v("Free uncompressed image hosting")]),e._v(" "),t("dropzone",{ref:"drop",attrs:{id:"dropzone",options:e.dropzoneOptions,destroyDropzone:!0}}),e._v(" "),t("p",{staticClass:"info-links",staticStyle:{"margin-top":"10px"}},[t("nuxt-link",{attrs:{to:{name:"sharex"}}},[e._v("sharex")]),e._v(" - "),t("a",{attrs:{href:"https://discord.gg/9pUJSKu",rel:"noopener noreferrer",target:"_blank"}},[e._v(" discord")])],1)],1)}),[],!1,null,null,null);o.default=component.exports}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.