From e63dea4ef9a346ee1912f03143dce123ce3ebe07 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Fri, 3 Feb 2023 22:32:11 +0800 Subject: Update --- web/bookmarklet/add-map | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 web/bookmarklet/add-map (limited to 'web') diff --git a/web/bookmarklet/add-map b/web/bookmarklet/add-map new file mode 100644 index 0000000..4a4251a --- /dev/null +++ b/web/bookmarklet/add-map @@ -0,0 +1,9 @@ +javascript: (function() { + mapDiv = document.createElement("div"); + mapDiv.setAttribute("class", 'map'); + document.body.append(mapDiv); + script = document.createElement("script"); + script.src = 'https://unpkg.com/mapclay@0.1.3/js/mapclay.js'; + script.type = 'module'; + document.body.append(script); +})(); -- cgit v1.2.3-70-g09d2