Post-Platform Digital Publishing Toolkit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
playground:bang [2025/01/25 14:44] – created claraplayground:bang [2025/01/26 16:51] (current) wgp
Line 1: Line 1:
-hello+<HTML> 
 +<script> 
 +    function fetch_request(url, callback){ 
 +        // fetching the pad 
 +        fetch(`${url}`,
 +            'method': 'GET', 
 +            'mode': 'cors', 
 +        }) 
 +        .then(response => response.text() ) 
 +        .then(css => inject_css(css) ); 
 +    } 
 +    function inject_css(css){ 
 +        console.log('pad loaded!'); 
 +        let el = document.createElement('style'); 
 +        el.id = "etherstyle"; 
 +        el.innerText = css; 
 +        document.head.appendChild(el); 
 +    }; 
 +    fetch_request("/doku.php?id=stylesheet:style_bang&do=export_text", inject_css); 
 +</script> 
 +</HTML> 
 + 
 + 
 +{{playground:img_1992.jpg}} 
 + 
playground/bang.1737816296.txt.gz · Last modified: 2025/01/25 16:56 (external edit)
  • Show page
  • Old revisions
  • Back to top
  • Recent Changes
  • Media Manager
  • Sitemap
  • Log In