// start.js ;(function() {var headEl = document.getElementsByTagName('head')[0]; var bodyEl = document.getElementsByTagName('body')[0]; function addTag(name, attributes, toBody, append) { var el = document.createElement(name), attrName; for (attrName in attributes) { el.setAttribute(attrName, attributes[attrName]); } // Script tags if (toBody) { if (append) { el.setAttribute('sync', true); el.setAttribute('async', false); // doesn't work. should work, though: https://developer.mozilla.org/en/docs/Web/HTML/Element/script bodyEl.appendChild(el); } else { document.write(outerHTML(el)); } } // head tags else { headEl.appendChild(el); } } function outerHTML(node){ // if IE, Chrome take the internal method otherwise build one return node.outerHTML || ( function(n){ var div = document.createElement('div'), h; div.appendChild(n); h = div.innerHTML; div = null; return h; })(node); } /*function addStylesFromDB(stylesHref) { // from start.js // Remove styles from custom index.html var linkedCss = document.querySelectorAll('link[rel=stylesheet]'); for (var i=0;i-1) { // styles.min.css / styles.css / red-styles.css etc //console.log("Remove existing styles.css from custom index.html: "+href); link.parentElement.removeChild(link); break; } } addTag('link', {href:stylesHref, rel:'stylesheet'}, false); }*/ /*function addDefaultStyles(stylesHref) { // Stop if custom index.html has styles.css var linkedCss = document.querySelectorAll('link[rel=stylesheet]'); for (var i=0;i-1) { // styles.min.css / styles.css / red-styles.css etc console.log("Found existing styles.css: "+href); return; } } addTag('link', {href:stylesHref, rel:'stylesheet'}, false); }*/ // OurSession: // $api_session_id = jOdNVb8i3mpAp1RLMbcfDNdZHaoe6wKhk73rGqQg // $origin_session_id = // $origin_session_error = origin session cookie not passed in GET // $js_state = ok // debugger; // debugging console.log("No origin session, but api session has same home (as domain). We should copy that."); console.log('No origin cookie. The api session is ok. Lets write it with cookie_write.'); // cookie_write, included by start.js. Set Cookie console.log('cookie_write: Set origin cookie. Copy api session'); var d = new Date(); d.setTime(d.getTime() + (365*24*60*60*1000)); var expires = "expires="+ d.toUTCString(); document.cookie = 'laravel_session=0b1f28890aee1eecd2c3a67b126a32944392deb1_jOdNVb8i3mpAp1RLMbcfDNdZHaoe6wKhk73rGqQg; SameSite=None; Secure; '+expires+';path=/'; debugger; // start/css.js // css.js Stop if custom index.html has styles.css var linkedCss = document.querySelectorAll('link[rel=stylesheet]'); var cssUrl = "https://css.thankonomy.org/1.0.2/community/default.min.css?20220817164908"; for (var i=0;i-1) { break; } } if (cssUrl) { addTag('link', {href:cssUrl, rel:'stylesheet'}, false); } addTag('link', {href:'https://css.thankonomy.org/1.0.2/community/custom/ah=0&ap=grey&bc=23_ffffff&fbc=23_d20000&hbc=23_d20000&hd=horizontal-center&ph=A700&pp=grey&tc=23_ffffff.css', rel:'stylesheet'}, false); /* // css_custom.js: Remove styles from custom index.html var linkedCss = document.querySelectorAll('link[rel=stylesheet]'); for (var i=0;i-1) { // styles.min.css / styles.css / red-styles.css etc //console.log("Remove existing styles.css from custom index.html: "+href); link.parentElement.removeChild(link); break; } } // css_custom.js: add site cssUrl addTag('link', {href:' < ?=\Helpers\Domain::$site->cssUrl?>', rel:'stylesheet'}, false); */ // head_tags. addTag("meta", {"charset":"utf-8"}, false); addTag("meta", {"name":"viewport","content":"width=device-width, initial-scale=1"}, false); // js_single: load script with combined bundle for app. addTag('script', {src:'https://static.thankonomy.org/js/latest/bundles-03bedc717180815aa1e652cd39346b1f.js'}, /*toBody*/true, /*append*/true); // Config.js // set stuff for Config.ts. me_id=3 window.inlineConfig = {"api":"https:\/\/api.thankonomy.org\/v1\/","appConfig":{"logo":{"url":"https:\/\/js.thankonomy.org\/shared\/assets\/doehetnietzelf.gif","width":"900"},"header":{"links":[{"action":"Agenda","url":"calendar"},{"action":"Archief","url":"\/archive"},{"url":"\/articles\/organiseren","action":"Organiseren"},{"url":"\/articles\/links","action":"Links"}]},"footer":{"links":[{"action":"Contact","url":"\/articles\/contact"},{"action":"De Gedachte","url":"\/articles\/waarom"},{"action":"Stichting Doe Het Niet Zelf","url":"\/articles\/stichting"},{"action":"De Handleiding","url":"\/articles\/handleiding"}]},"calendar":{"article":"agenda"},"archive":{"article":"archief"},"redirect":{"redirectItems":[{"from":"handleiding","to":"articles\/handleiding"},{"from":"organiseren","to":"articles\/organiseren"},{"from":"aanmelden","to":"account\/register"},{"from":"stichting","to":"articles\/stichting"},{"from":"waarom","to":"articles\/waarom"},{"from":"MEETINGS\/56360","to":"meetings\/56360"}],"headerPulldown":[{"url":"\/me\/meetings","action":"Je bijeenkomsten"},{"url":"\/me\/offers","action":"Je aanbod"},{"url":"\/me\/needs","action":"Je vraag"}]}},"appName":"Doe Het Niet Zelf","cssUrl":"https:\/\/css.thankonomy.org\/","cssConfigStanderd":{"denied":"no access to update cssConfig, so configDefault not necessary."},"imageUrl":"https:\/\/img.thankonomy.org\/","indexHtmlVersion":"0","is_local":false,"jsUrl":"https:\/\/static.thankonomy.org\/js\/latest\/","language":"nl","last_activity":1745049110,"originUrl":"https:\/\/api.thankonomy.org","sessionID":"0b1f28890aee1eecd2c3a67b126a32944392deb1_jOdNVb8i3mpAp1RLMbcfDNdZHaoe6wKhk73rGqQg","sessionState":"continue","staticUrl":"https:\/\/static.thankonomy.org\/","siteCssUrl":"https:\/\/css.thankonomy.org\/1.0.2\/community\/default.min.css?20220817164908","themeDeployUrl":"https:\/\/static.thankonomy.org\/js\/latest\/","_SERVER":{"ZEPTOMAIL_TOKEN":"Zoho-enczapikey yA6KbHsI4wT0wmtQQhQ905KL9Yc5\/\/g6iSXi4y3mecN1LoW3j6E5hUU\/J4e+dmTcjdXS6alZOtwYcdq\/t41efJg1M99XKJTGTuv4P2uV48xh8ciEYNYkg56rArERFqFIchMiCCkzQfEjWA==","JS_URL":"https:\/\/static.thankonomy.org\/js\/","HOSTNAME":"0a53700f1d3f","PHP_INI_DIR":"\/usr\/local\/etc\/php","CSS_URL":"https:\/\/css.thankonomy.org\/","SHLVL":"1","HOME":"\/home\/www-data","ZEPTOMAIL_BOUNCE_EMAIL":"sorry@bounce.thankonomy.org","IMAGE_PATH":"\/var\/www\/img\/img.thankonomy.org\/","PHP_LDFLAGS":"-Wl,-O1 -pie","PMA_PORT":"8080","PHP_CFLAGS":"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64","SCSS_PATH":"\/var\/www\/scss\/","PHP_VERSION":"7.3.33","GPG_KEYS":"CBAF69F173A0FEA4B537F470D66C9593118BCCB6 F38252826ACD957EF380D39F2F7956BC5DA04B5D","API_ORIGIN":"https:\/\/api.thankonomy.org","PHP_CPPFLAGS":"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64","PHP_ASC_URL":"https:\/\/www.php.net\/distributions\/php-7.3.33.tar.xz.asc","STATIC_URL":"https:\/\/static.thankonomy.org\/","API_PATH":"","PHP_URL":"https:\/\/www.php.net\/distributions\/php-7.3.33.tar.xz","DOMAINS_PATH":"\/var\/www\/domains\/","MYSQL_PASSWORD":"PTLAYtNR8hvHyXvn","PATH":"\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin","JS_PATH":"\/var\/www\/static.thankonomy.org\/js\/","MYSQL_HOST":"helpful-mysql","MYSQL_USER":"thank","STANDARD_SITE":"52637","CSS_PATH":"\/var\/www\/css.thankonomy.org\/","IMAGE_MAX_WIDTH":"1000","ZEPTOMAIL_FROM_EMAIL":"noreply@thankonomy.org","PRODUCTION":"true","IMAGE_URL":"https:\/\/img.thankonomy.org\/","GUEST_USER":"3","PHPIZE_DEPS":"autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c","PWD":"\/var\/www\/html","PHP_SHA256":"166eaccde933381da9516a2b70ad0f447d7cec4b603d07b9a916032b215b90cc","IMAGE_BASE_PATH":"\/var\/www\/img\/private-base\/","PUBLIC_GROUP":"1","API_URL":"https:\/\/api.thankonomy.org\/v1\/","MYSQL_DATABASE":"thank","IMAGE_ORIGINAL_PATH":"\/var\/www\/img\/private-original\/","USER":"www-data","HTTP_COOKIE":"laravel_session=0b1f28890aee1eecd2c3a67b126a32944392deb1_jOdNVb8i3mpAp1RLMbcfDNdZHaoe6wKhk73rGqQg","HTTP_ACCEPT_ENCODING":"gzip, br, zstd, deflate","HTTP_USER_AGENT":"Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)","HTTP_ACCEPT":"*\/*","HTTP_HOST":"api.thankonomy.org","PATH_INFO":"","SCRIPT_FILENAME":"\/var\/www\/api\/_htaccess_rewrite.php","REDIRECT_STATUS":"200","SERVER_NAME":"api.thankonomy.org","SERVER_PORT":"443","SERVER_ADDR":"192.168.176.2","REMOTE_PORT":"62120","REMOTE_ADDR":"3.138.188.86","SERVER_SOFTWARE":"nginx\/1.22.0","GATEWAY_INTERFACE":"CGI\/1.1","HTTPS":"on","REQUEST_SCHEME":"https","SERVER_PROTOCOL":"HTTP\/2.0","DOCUMENT_ROOT":"\/var\/www\/api","DOCUMENT_URI":"\/_htaccess_rewrite.php","REQUEST_URI":"\/start.js?locationHref=https%3A%2F%2Fdoehetnietzelf.org%2Fmeetings%2F91958","SCRIPT_NAME":"\/_htaccess_rewrite.php","CONTENT_LENGTH":"","CONTENT_TYPE":"","REQUEST_METHOD":"GET","QUERY_STRING":"locationHref=https%3A%2F%2Fdoehetnietzelf.org%2Fmeetings%2F91958","FCGI_ROLE":"RESPONDER","PHP_SELF":"\/_htaccess_rewrite.php","REQUEST_TIME_FLOAT":1745049110.989155,"REQUEST_TIME":1745049110,"argv":["locationHref=https%3A%2F%2Fdoehetnietzelf.org%2Fmeetings%2F91958"],"argc":1},"_environment":"production"}; window.inlinePreloadData = {"me":{"type":"user","address":null,"created_at":"2015-07-03T12:25:22+02:00","description":null,"email":"guest@ddiy.org","id":3,"lat":null,"lng":null,"name":"Guest","phone":null,"picture_id":null,"site":null,"slug":"guest","state":"ok","updated_at":null,"href":"https:\/\/api.thankonomy.org\/v1\/users\/3","isMe":true},"guest":{"type":"user","address":null,"created_at":"2015-07-03T12:25:22+02:00","description":null,"email":"guest@ddiy.org","id":3,"lat":null,"lng":null,"name":"Guest","phone":null,"picture_id":null,"site":null,"slug":"guest","state":"ok","updated_at":null,"href":"https:\/\/api.thankonomy.org\/v1\/users\/3","isMe":true},"everybody":{"type":"group","address":null,"created_at":"2015-07-03T12:25:22+02:00","description":"Everybody","email":null,"id":1,"lat":0,"lng":0,"name":"Public","parent_id":null,"phone":null,"picture_id":null,"site":null,"slug":"public","state":"active","updated_at":"2015-07-03T12:25:22+02:00","href":"https:\/\/api.thankonomy.org\/v1\/groups\/1"},"home":{"type":"group","address":null,"created_at":"2015-07-03T12:25:22+02:00","description":"Gezellig samenwerken! Sinds 2008","email":"info@doehetnietzelf.org","id":9,"lat":0,"lng":0,"name":"Doe Het Niet Zelf","parent_id":null,"phone":null,"picture_id":58660,"site":null,"slug":"doehetnietzelf","state":"active","updated_at":"2018-07-08T21:36:34+02:00","href":"https:\/\/api.thankonomy.org\/v1\/groups\/9","isHome":true},"homeAccess":{"parts":{"address":"denied","ancestors":"denied","comments":"denied","delete":"denied","description":"denied","email":"denied","groups":"denied","join":"do","lat":"denied","lng":"denied","meetings":"denied","memberships":"denied","name":"denied","needs":"denied","offers":"denied","parent_id":"denied","phone":"denied","picture_id":"denied","pictures":"denied","represent":"denied","site":"denied","users":"denied"},"type":"access","href":"https:\/\/api.thankonomy.org\/v1\/groups\/9\/access\/3","by_id":3,"byHref":"https:\/\/api.thankonomy.org\/v1\/users\/3","toHref":"https:\/\/api.thankonomy.org\/v1\/groups\/9"},"site":{"type":"site","config":{"logo":{"url":"https:\/\/js.thankonomy.org\/shared\/assets\/doehetnietzelf.gif","width":"900"},"header":{"links":[{"action":"Agenda","url":"calendar"},{"action":"Archief","url":"\/archive"},{"url":"\/articles\/organiseren","action":"Organiseren"},{"url":"\/articles\/links","action":"Links"}]},"footer":{"links":[{"action":"Contact","url":"\/articles\/contact"},{"action":"De Gedachte","url":"\/articles\/waarom"},{"action":"Stichting Doe Het Niet Zelf","url":"\/articles\/stichting"},{"action":"De Handleiding","url":"\/articles\/handleiding"}]},"calendar":{"article":"agenda"},"archive":{"article":"archief"},"redirect":{"redirectItems":[{"from":"handleiding","to":"articles\/handleiding"},{"from":"organiseren","to":"articles\/organiseren"},{"from":"aanmelden","to":"account\/register"},{"from":"stichting","to":"articles\/stichting"},{"from":"waarom","to":"articles\/waarom"},{"from":"MEETINGS\/56360","to":"meetings\/56360"}],"headerPulldown":[{"url":"\/me\/meetings","action":"Je bijeenkomsten"},{"url":"\/me\/offers","action":"Je aanbod"},{"url":"\/me\/needs","action":"Je vraag"}]}},"cssConfig":{"headerDirection":"horizontal-center","headerBackgroundColor":"#d20000","backgroundColor":"#ffffff","accentPalette":"grey","accentHue":"0","textColor":"#ffffff","primaryPalette":"grey","primaryHue":"A700","footerBackgroundColor":"#d20000"},"cssConfigString":"ah=0&ap=grey&bc=23_ffffff&fbc=23_d20000&hbc=23_d20000&hd=horizontal-center&ph=A700&pp=grey&tc=23_ffffff","cssFlavor":null,"cssVersion":null,"groupId":9,"id":52643,"jsVersion":"latest","lang":{"nl":{"MATCHMAKER":{"no_matches":"{name}, je hebt hier nog geen matches: #matchwoorden ontbreken of maken geen verbinding. Tip: Bekijk de andere profielen en ontdek #matchwoorden die ook bij jou passen. Redigeer je vraag en aanbod!","matches_of_you_button":"Toon mijn matches","matches_of_other_dialog_button":"Toon matches van {firstname}"},"NEEDS":{"OF-ME":{"at-meeting":"Wat wil je vragen op deze bijeenkomst?","at-group":"Wat wil je vragen aan deze groep?"}}},"en":{}},"name":"Doe Het Niet Zelf","pages":[],"theme":"","url":"https:\/\/doehetnietzelf.org","href":"https:\/\/api.thankonomy.org\/v1\/sites\/52643","cssCustomUrl":"https:\/\/css.thankonomy.org\/1.0.2\/community\/custom\/ah=0&ap=grey&bc=23_ffffff&fbc=23_d20000&hbc=23_d20000&hd=horizontal-center&ph=A700&pp=grey&tc=23_ffffff.css"}};})();