mirror of
https://github.com/oxalorg/sakura.git
synced 2026-04-03 00:08:52 -06:00
add bookmarklet #127
Labels
No labels
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
dependencies
discussion
discussion
discussion
discussion
discussion
discussion
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
good-first-issue
help wanted
help wanted
javascript
javascript
javascript
question
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github/sakura#127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zhouzi on 5/4/2017
This PR adds a bookmarklet as suggested in #1
You can try it out by right clicking in your browser's bookmarks bar, then click "add page" and paste the code below in the url field:
You can then visit any site and click on the bookmark. It will do a few things:
<style>elementsThe installation process is not ideal right now. You might not want to have the bookmarklet in master neither. It'd be better to have a
gh-pagesto host a GitHub page and add a button so users can drag and drop it in their bookmarks bar.That been said, you could also add the button to the current demo page. It doesn't have to be in the repository as it may not change too much in the future. If you want to go the simpler route and do that, you just need to add this to the demo page:
Ideally with a note such as
Drag and drop this link into your browser's bookmarks bar. You will then be able to click on it to inject sakura styles in any sites.