PageSourceSearch

https://developers.minds.com/assets/js/8c2852fb.052cee16.js

js minds.com collected 2026-10-01 07:40:15 UTC 6,695 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7457],{3905:(e,t,n)=>{n.d(t,{Zo:()=>u,kt:()=>b});var r=n(7294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var i=r.createContext({}),s=function(e){var t=r.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):d(d({},t),e)),n},u=function(e){var t=s(e.components);return r.createElement(i.Provider,{value:t},e.children)},p="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},c=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),p=s(n),c=o,b=p["".concat(i,".").concat(c)]||p[c]||m[c]||a;return n?r.createElement(b,d(d({ref:t},u),{},{components:n})):r.createElement(b,d({ref:t},u))}));function b(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,d=new Array(a);d[0]=c;var l={};for(var i in t)hasOwnProperty.call(t,i)&&(l[i]=t[i]);l.originalType=e,l[p]="string"==typeof e?e:o,d[1]=l;for(var s=2;s<a;s++)d[s]=n[s];return r.createElement.apply(null,d)}return r.createElement.apply(null,n)}c.displayName="MDXCreateElement"},7102:(e,t,n)=>{n.r(t),n.d(t,{BoostEmbedCode:()=>c,EmbedScript:()=>b,assets:()=>p,contentTitle:()=>s,default:()=>k,frontMatter:()=>i,metadata:()=>u,toc:()=>m});var r=n(7462),o=n(3366),a=n(7294),d=n(3905),l=["components"],i={id:"embedded-boosts",title:"Embedded Boosts"},s=void 0,u={unversionedId:"plugins/embedded-boosts",id:"plugins/embedded-boosts",title:"Embedded Boosts",description:"The boosts plugin allows network owners to embed an ad-unit for their network on other sites.",source:"@site/docs/plugins/embedded-boosts.mdx",sourceDirName:"plugins",slug:"/plugins/embedded-boosts",permalink:"/docs/plugins/embedded-boosts",draft:!1,editUrl:"https://gitlab.com/minds/docs/edit/master/docs/docs/plugins/embedded-boosts.mdx",tags:[],version:"current",lastUpdatedBy:"Ben",lastUpdatedAt:1722932237,formattedLastUpdatedAt:"Aug 6, 2024",frontMatter:{id:"embedded-boosts",title:"Embedded Boosts"},sidebar:"tutorialSidebar",previous:{title:"Plugins",permalink:"/docs/category/plugins"},next:{title:"Embedded Comments",permalink:"/docs/plugins/embedded-comments"}},p={},m=[{value:"Embed Builder",id:"embed-builder",level:2},{value:"Attribute Reference",id:"attribute-reference",level:2},{value:"Example - Minds Network",id:"example---minds-network",level:2}];function c(){var e=(0,a.useState)("www.minds.com"),t=e[0],n=e[1],r=(0,a.useState)(600),o=r[0],l=r[1],i=(0,a.useState)(300),s=i[0],u=i[1];return(0,d.kt)("div",null,(0,d.kt)("div",{style:{marginBottom:"32px"}},(0,d.kt)("div",null,(0,d.kt)("strong",null,"Your network host"),(0,d.kt)("br",null),(0,d.kt)("input",{value:t,onChange:function(e){return n(e.target.value)}})),(0,d.kt)("div",null,(0,d.kt)("strong",null,"Height (px)"),(0,d.kt)("br",null),(0,d.kt)("input",{value:o,onChange:function(e){return l(e.target.value)}})),(0,d.kt)("div",null,(0,d.kt)("strong",null,"Width (px)"),(0,d.kt)("br",null),(0,d.kt)("input",{value:s,onChange:function(e){return u(e.target.value)}}))),(0,d.kt)("pre",null,(0,d.kt)("code",{className:"language-html"},'<div\n  class="minds-boost-slot"\n  data-height="'+o+'px"\n  data-width="'+s+'px"\n  data-app-url="https://'+t+'/plugins/embedded-boosts"\n></div>','\n<script\n  async\n  defer\n  crossorigin="anonymous"\n  src="https://'+t+'/plugins/embedded-boosts/js/embed.min.js"\n><\/script>')))}function b(){return(0,a.useEffect)((function(){var e=document.createElement("script");e.async=!0,e.defer=!0,e.crossOrigin="anonymous",e.src="https://www.minds.com/plugins/embedded-boosts/js/embed.min.js",document.body.appendChild(e)}),[]),(0,d.kt)(a.Fragment,null)}var g={toc:m,BoostEmbedCode:c,EmbedScript:b},f="wrapper";function k(e){var t=e.components,n=(0,o.Z)(e,l);return(0,d.kt)(f,(0,r.Z)({},g,n,{components:t,mdxType:"MDXLayout"}),(0,d.kt)("p",null,"The boosts plugin allows network owners to embed an ad-unit for their network on other sites."),(0,d.kt)("h2",{id:"embed-builder"},"Embed Builder"),(0,d.kt)(c,{mdxType:"BoostEmbedCode"}),(0,d.kt)("h2",{id:"attribute-reference"},"Attribute Reference"),(0,d.kt)("table",null,(0,d.kt)("thead",{parentName:"table"},(0,d.kt)("tr",{parentName:"thead"},(0,d.kt)("th",{parentName:"tr",align:null},"Attribute"),(0,d.kt)("th",{parentName:"tr",align:null},"Optional"),(0,d.kt)("th",{parentName:"tr",align:null},"Description"))),(0,d.kt)("tbody",{parentName:"table"},(0,d.kt)("tr",{parentName:"tbody"},(0,d.kt)("td",{parentName:"tr",align:null},"data-app-url"),(0,d.kt)("td",{parentName:"tr",align:null},"No"),(0,d.kt)("td",{parentName:"tr",align:null},"HREF pointing to the embedded boosts plugin host page.")),(0,d.kt)("tr",{parentName:"tbody"},(0,d.kt)("td",{parentName:"tr",align:null},"data-height"),(0,d.kt)("td",{parentName:"tr",align:null},"Yes"),(0,d.kt)("td",{parentName:"tr",align:null},"Height of the embedded boost.")),(0,d.kt)("tr",{parentName:"tbody"},(0,d.kt)("td",{parentName:"tr",align:null},"data-width"),(0,d.kt)("td",{parentName:"tr",align:null},"Yes"),(0,d.kt)("td",{parentName:"tr",align:null},"Width of the embedded boost.")),(0,d.kt)("tr",{parentName:"tbody"},(0,d.kt)("td",{parentName:"tr",align:null},"data-border-color"),(0,d.kt)("td",{parentName:"tr",align:null},"Yes"),(0,d.kt)("td",{parentName:"tr",align:null},"Border color of embedded boost.")))),(0,d.kt)("h2",{id:"example---minds-network"},"Example - Minds Network"),(0,d.kt)("div",{className:"minds-boost-slot","data-height":"600px","data-width":"300
1px","data-app-url":"https://www.minds.com/plugins/embedded-boosts/?theme=fishtank"}),(0,d.kt)(b,{mdxType:"EmbedScript"}))}k.isMDXComponent=!0}}]);

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.