javascript

Vault Deployment | 🎯 Clear Architecture: Web vs Desktop

coding javascript accid

Three Deployment Modes: Mode 1: Pure Web (No Vault Needed) User Browser ↓ https://yoursite.com/html-builder ↓ localStorage (editing) ↓ Browser FTP library (publishing) ↓ User’s FTP server Who: Public users on your siteInstall: NothingVault: Not needed (browser handles FTP) Mode 2: Web + Hosted Vault (Recommended) User Browser ↓ https://yoursite.com/html-builder ↓ localStorage (editing) ↓ POST to […]

Vault Deployment | 🎯 Clear Architecture: Web vs Desktop Read More »

🚀 Tagger → Vault Integration Guide

coding javascript accid

What’s New in Vault v2.0 Your Vault now has complete tagger processing built-in: ✅ Tag group processing (context-aware content) ✅ Archive page generation (categories, tags, dates) ✅ Search index building ✅ Image proxy & collection ✅ FTP deployment with image gathering Total: 1,086 lines (was 530, added 556 lines of tagger processing) Quick Start 1.

🚀 Tagger → Vault Integration Guide Read More »

ACCID Pipeline

coding javascript accid

Site content extraction using Playwright. Extract content from websites → organize by page type → output for HTML Builder. Table of Contents Quick Start Pipeline Overview Step 1: Discover Step 2: Curate Step 3: Tagger Step 4: Preview Step 5: Runner Step 6: Extract Step 7: Convert Action Reference File Formats Troubleshooting Quick Start chmod

ACCID Pipeline Read More »

Add Parameters To Form Action

javascript

I need to the add a JavaScript variable to a link in action form. Is that possible? JavaScript function: <script> function parameter() { function getUrlVars() { var vars = {}; var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function (m, key, value) { vars[key] = value; }); return vars; } var vpid = getUrlVars()[“pid”]; } //var link = “second_02.html”

Add Parameters To Form Action Read More »

Add “_blank”

all-scribbly javascript

/* here are two different ways to do this */ //using jquery: $(document).ready(function(){ $(‘#link_other a’).attr(‘target’, ‘_blank’); }); // not using jquery window.onload = function(){ var anchors = document.getElementById(‘link_other’).getElementsByTagName(‘a’); for (var i=0; i<anchors.length; i++){ anchors[i].setAttribute(‘target’, ‘_blank’); }} // jquery is prettier. 🙂 Copy You could also add a title tag to notify the user that you

Add “_blank” Read More »

Uncaught Reference Error

all-scribbly javascript

app.js “use strict”;var tb = { rahmen: { eigenschaften: [ “hochwertig”, “verwindungssteif”, “vergleichsweise verwindungssteif”, “sehr verwindungssteif”, “sehr hohe Verwindungssteifigkeit”, “hohe Steifigkeit” ] }}; index.html <!DOCTYPE html><html lang=”en”><head> ((Some Head-Tags)) <script src=”dist/app.js” defer></script> ((Some Head-Tags))</head><body> <div class=”container”> <section> <h1>Test</h1> <script> console.log(tb.rahmen.eigenschaften[3]); </script> </section> </div></body></html> Error Message Uncaught ReferenceError: tb is not defined The problem It must

Uncaught Reference Error Read More »

JS To Insert CSS Into Page

all-scribbly javascript

u can also do this using DOM Level 2 CSS interfaces (MDN): var sheet = window.document.styleSheets[0]; sheet.insertRule(‘strong { color: red; }’, sheet.cssRules.length);  …on all but (naturally) IE8 and prior, which uses its own marginally-different wording: sheet.addRule(‘strong’, ‘color: red;’, -1);  There is a theoretical advantage in this compared to the createElement-set-innerHTML method, in that you don’t

JS To Insert CSS Into Page Read More »