mirror of
https://github.com/urbit/shrub.git
synced 2024-12-22 02:11:38 +03:00
3a859ef585
link-server-hook exposes (parts of) the link-store over eyre, on the condition that the client is authenticated as the host ship. link-webext as committed is a very minimal web extension. When its toolbar button is clicked, it saves the current webpage to /private in the link-store. In the future, this should support choosing a target to save to, highlighting already-saved pages, and many other features.
23 lines
440 B
HTML
Executable File
23 lines
440 B
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<link href="style.css" rel="stylesheet" />
|
|
</head>
|
|
<body>
|
|
|
|
<form>
|
|
<label>
|
|
Ship HTTP endpoint:
|
|
<input id="endpoint" type="text" placeholder="your-ship.arvo.network" />
|
|
</label>
|
|
|
|
<button type="submit">Save</button>
|
|
</form>
|
|
|
|
<script src="../storage.js"></script>
|
|
<script src="script.js"></script>
|
|
|
|
</body>
|
|
</html>
|