Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thomaschaplin/snippet-library

✂️ Chrome extension for JS snippets
https://github.com/thomaschaplin/snippet-library

chrome-extension extension google-chrome google-chrome-extension javascript javascript-snippets js-snippets snippet snippets snippets-library snipppets

Last synced: 4 months ago
JSON representation

✂️ Chrome extension for JS snippets

Awesome Lists containing this project

README

        

# ![extension icon](./extension/icon48.png) Snippet Library

A chrome extension with useful JavaScript snippets to aid software development and testing.

## Installation

- Download the latest release [here](https://github.com/thomaschaplin/snippet-library/releases/latest)
- Navigate to `chrome://extensions` within chrome
- Enable `Developer mode` (a switch at the top right of the page)
- Click `Load unpacked` button
- Browse to the release downloded folder and choose this folder
- Navigate to a website and then right click it to access the `Snippet Library` context menu
- After executing a snippet you can see the code as a bookmarklet by viewing the DevTools console

## Snippets

Below is a list of snippets currently available with this extension

Help

* About
* Version

Exploits

* Injection: SQL
* Injection: XSS

Accessibility

* Element: Highlight With The Same ID
* Element: Remove With The Same ID
* Enable: Right Click
* Enable: Text Selection
* Enable: Pasting
* Text: Pascalcase
* Text: Lowercase
* Text: Uppercase
* Text: Increase Length
* Text: Increase All Length
* Text: Increase Button Length
* Text: Increase Labels Length
* Text: Increase All Links Length
* Image: Remove Without Alt Tags
* Image: List Alt Tags
* Image: Highlight With Alt Tags
* Image: Highligh Without Alt Tags
* Input: Remove Max Length
* Input: Remove Without Labels
* Input: Remove Required
* Input: Highlight Without Labels
* Form: Print Controls
* Misc: Visualise Tab Flow

Convert

* Decode: Base64
* Encode: Base64
* Pretty Print: JSON
* Minify: JSON
* Convert Highlighted Text: ROT13

DOM

* Table: Add Number Column
* Table: Transpose Tables
* Table: Sort Tables
* Image: Convert Images To Data URL
* Image: Overlay Images
* Image: Remove Images
* Image: Preview Images
* Input: Convert Input Types To Text
* Bullet Point: Convert Bullet Points To Numbers
* Colour: Print Colours Used
* Link: Highligh Internal & External Links
* Link: Display URLs As Links
* DOM: Design Mode Off
* DOM: Design Mode On
* Element: For Each Element Do...
* Element: Wrap

GitHub

* Review: Mark As Viewed
* Review: Mark Files As Unviewed

Miscellaneous

* Misc: Monkey Testing
* Misc: Console Save
* Misc: Log Globals
* Misc: Remove Bloat
* Misc: Restore Console
* Misc: Find Stack
* Misc: Generate QR Code For Current Website
* Misc: Log Word Frequency
* Account: Find Public Credentails
* Cookies: Remove All
* Cookies: View All
* Script: View All
* Source: View Highlighted Source
* Input: Display Passwords

Network

* Network: Cache Buster
* Network: Generate Hash Link
* Network: Heatmap
* Network: Is This Website Down
* Network: Link Checker
* Network: Log Query Strings
* Network: Performance
* Network: Performance 2
* Network: Performance Stats
* Network: Show Headers

Styling

* Pretty Print: CSS File
* CSS: Insert
* CSS: Plain
* CSS: Remove
* CSS: Remove 2
* CSS: View
* CSS: Reload
* CSS: Remove Colours
* Forms: Plain
* Font: What Font

Events

* Log: Segment Events