File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 5757 link : https://medium.com/webknossos
5858 generator : false
5959
60+ extra_javascript :
61+ - javascripts/runllm-widget.js
62+
6063plugins :
6164 # - gen-files:
6265 # scripts:
Original file line number Diff line number Diff line change 1+ document . addEventListener ( "DOMContentLoaded" , function ( ) {
2+ var script = document . createElement ( "script" ) ;
3+ script . type = "module" ;
4+ script . id = "runllm-widget-script"
5+
6+ script . src = "https://widget.runllm.com" ;
7+
8+ script . setAttribute ( "version" , "stable" ) ;
9+ script . setAttribute ( "crossorigin" , "true" ) ;
10+ script . setAttribute ( "runllm-keyboard-shortcut" , "Mod+j" ) ;
11+ script . setAttribute ( "runllm-name" , "WEBKNOSSOS Assistant" ) ;
12+ script . setAttribute ( "runllm-position" , "BOTTOM_RIGHT" ) ;
13+ script . setAttribute ( "runllm-assistant-id" , "635" ) ;
14+
15+ script . async = true ;
16+ document . head . appendChild ( script ) ;
17+ } ) ;
You can’t perform that action at this time.
0 commit comments