du5t / capsule Goto Github PK
View Code? Open in Web Editor NEWHTML snippet extractor/cypherspace re-transmitter
HTML snippet extractor/cypherspace re-transmitter
// por ejemplo, from snapshooter
const styleString = '<style>'
.concat(parsedSelection.css.reduce((cssStr, cssObj) =>
cssStr.concat(JSON.stringify(cssObj)), ''))
.concat('</style>')
currently opens a new tab with that URI, with a prompt about the URI association. even if this prompt is set to skip, the tab is left open.
the API is not exactly kind about providing alternatives.
URL limit is 2MB: https://bugs.chromium.org/p/chromium/issues/detail?id=69227
we hope it will be less gross than the chromium version was.
to make this work using ssb-client, it needs to load the private key and then make a full connection to the local instance. Currently, patchwork exposes a plaintext websocket connect to localhost only, so you could connect to that instead.
but maybe having that is problematic, if any website can make a websocket (cross origin by default) localhost connection? @pfraze ?
Otherwise, you need to load the (or, a) private key and connect with that. sbot also has a master
config, which allows another private key to connect and have the authority of the main private key (so far, this is useful for getting a pub to follow people or create invites remotely) we could use that here though.
fancy unicode apostrophes etc. do funny things when brought thru.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.