Skip to content

thomaschaplin/snippet-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

extension icon Snippet Library

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

Installation

  • Download the latest release here
  • 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