Git Product home page Git Product logo

bookmarklets's Introduction

Basic Usage

Copy and paste the bookmarklet code into your bookmarks. Open the bookmark to activate.
If you want to use a bookmark on secure websites like Facebook or Gmail, you must use the source code available above (prepended with javascript:).

3D.js

View a website in 3D layers.

Code

javascript:(function(){var js=document.body.appendChild(document.createElement("script"));js.onerror=function(){alert("Sorry, the script could not be loaded.")};js.src="https://rawgit.com/Krazete/bookmarklets/master/3D.js"})();

Usage

After activating, view the menu in the top left corner.

Piano.js

Add a piano to any website.

Code

javascript:(function(){var js=document.body.appendChild(document.createElement("script"));js.onerror=function(){alert("Sorry, the script could not be loaded.")};js.src="https://rawgit.com/Krazete/bookmarklets/master/piano.js"})();

Usage

Control the wave type, octave level, and axis tilt in the left menu.

  • can also control octave level with left and right keyboard arrows
  • can also control tilt with up and down keyboard arrows

Control playback in the right menu.

  • "# ▶" is a play button
  • "# ◼" is a stop button
  • "↻ #" is the history playback button
  • "✖" is to delete a disc or clear history
    • can also clear history with spacebar
  • "⬇" is to save history as a a disc
  • "⬆︎" is to export all saved discs
    • only useful with a local copy of the full code

Tic.js

A game of ultimate tic-tac-toe.

Code

javascript:(function(){var js=document.body.appendChild(document.createElement("script"));js.onerror=function(){alert("Sorry, the script could not be loaded.")};js.src="https://rawgit.com/Krazete/bookmarklets/master/tic.js"})();

Usage

The rules are explained here.

Lupire.js

A replicated Lumosity game.

Code

javascript:(function(){var js=document.body.appendChild(document.createElement("script"));js.onerror=function(){alert("Sorry, the script could not be loaded.")};js.src="https://rawgit.com/Krazete/bookmarklets/master/lupire.js"})();

Usage

See Lumosity's pinball recall game.

YTScroller.js

Watch a video and read comments simultaneously.

Bookmarklet Code

javascript:(function(){document.body.appendChild(document.createElement("script")).src="https://rawgit.com/Krazete/bookmarklets/master/ytscroller.js"})();

Usage

Active this bookmarklet upon first loading YouTube.
You can also use the source code with a userscript app like TamperMonkey to make this automatic.

YTSentiment.js

Check multiple videos' like statuses all at once (to avoid clickbait and such).

Bookmarklet Code

javascript:(function(){document.body.appendChild(document.createElement("script")).src="https://rawgit.com/Krazete/bookmarklets/master/ytsentiment.js"})();

Usage

Activate this bookmarklet on any YouTube page with multiple video links.

  • green: #(likes) > #(dislikes)
  • murky green: #(likes) == #(dislikes)
  • red: #(likes) < #(dislikes)

bookmarklets's People

Contributors

krazete avatar jsjqian avatar johndpotts avatar wulingoh avatar yarwest avatar qcn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.