userscripts's People
userscripts's Issues
Add a service worker to enable caching and prefetching
Goal
Work around AO3's cache situation by installing a service worker that can override the cache-control
headers set by the server for GET /works/:workid
requests.
LocalStorage proxy object
Wrap the LocalStorage api. Values stored as JSON. Provide read interface as an object, store written data back as JSON. Throw error if write failed.
Add hotkey to get selected text and copy to comment box
When c
is hit:
- grab selected text
- store reference to selection anchor Element
- near comment box, insert jump link (or update existing) back to anchored paragraph. use
Element.scrollIntoView()
- if last character in comment box is not newline, insert newline
- split selected text by newline/paragraph break, insert each chunk prepended with
>
and suffixed with newline - focus comment box
Better comment box on AO3
Goal
Replace the default comment textbox with a rich text editor like what's available for posting chapters. Ideally, the same as what's available for posting chapters.
Upgraded hotkey engine
Goal
Create and use a hotkey engine that:
- isn't so tightly bound to the AO3 hotkey code
- supports key combinations
- supports keys in textboxes when a modifier key is being held
- uses one engine per component attached to
- can emit events
- can be provided with key-action mappings and run them itself
User experience
Users shouldn't notice any changes other than some actions being remapped to new combinations. As usual, deprecated keybinds will keep working (with an alert about the new keybind) until another action gets mapped to the key.
Add kbd markers to all hotkeyable actions
For actions with CSS strings, you should just be able to target those strings and insert the kbd element.
For function actions, we'll need an override dict with CSS strings to target.
Every kudos adds a heart to the comment field
Every time you hit the k
hotkey, it tries to add a kudos, but it also adds a heart into the comment box.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.