@@ -4,29 +4,149 @@ A chrome extension with useful JavaScript snippets to aid software development a
44
55## Installation
66
7- - Download and extract this repository somewhere
7+ - ` git clone git@github.com:thomaschaplin/snippet-library.git `
88- Navigate to ` chrome://extensions ` within chrome
9- - Ensure to switch ` Developer mode ` on (a toggle at the top right of the page)
10- - Select ` Load unpacked ` and then navigate to the ` /extension ` folder
9+ - Enable ` Developer mode ` (a switch at the top right of the page)
10+ - Click ` Load unpacked ` button
11+ - Browse to the ` /extension ` folder and choose this folder
1112- Navigate to a website and then right click it to access the ` Snippet Library ` context menu
1213- After executing a snippet you can see the code as a bookmarklet by viewing the DevTools console
1314
14- ## Current Snippets
15- Below is a list of snippets currently available with this extension.
15+ ## Snippets
1616
17- ### Help
17+ Below is a list of snippets currently available with this extension
1818
19- * About
2019
21- ### Events
20+ <details >
21+ <summary >Help</summary >
2222
23- * Log Segment Events
23+ * About
24+ * Version
25+ </details >
2426
25- ### Exploits
27+ <details >
28+ <summary >Exploits</summary >
2629
27- * SQL Injection
28- * XSS Injection
30+ * Injection: SQL
31+ * Injection: XSS
32+ </details >
2933
30- ### TBC
34+ <details >
35+ <summary >Accessibility</summary >
3136
32- * TBC
37+ * Element: Highlight With The Same ID
38+ * Element: Remove With The Same ID
39+ * Enable: Right Click
40+ * Enable: Text Selection
41+ * Enable: Pasting
42+ * Text: Pascalcase
43+ * Text: Lowercase
44+ * Text: Uppercase
45+ * Text: Increase Length
46+ * Text: Increase All Length
47+ * Text: Increase Button Length
48+ * Text: Increase Labels Length
49+ * Text: Increase All Links Length
50+ * Image: Remove Without Alt Tags
51+ * Image: List Alt Tags
52+ * Image: Highlight With Alt Tags
53+ * Image: Highligh Without Alt Tags
54+ * Input: Remove Max Length
55+ * Input: Remove Without Labels
56+ * Input: Remove Required
57+ * Input: Highlight Without Labels
58+ * Form: Print Controls
59+ * Misc: Visualise Tab Flow
60+ </details >
61+
62+ <details >
63+ <summary >Convert</summary >
64+
65+ * Decode: Base64
66+ * Encode: Base64
67+ * Pretty Print: JSON
68+ * Minify: JSON
69+ * Convert Highlighted Text: ROT13
70+ </details >
71+
72+ <details >
73+ <summary >DOM</summary >
74+
75+ * Table: Add Number Column
76+ * Table: Transpose Tables
77+ * Table: Sort Tables
78+ * Image: Convert Images To Data URL
79+ * Image: Overlay Images
80+ * Image: Remove Images
81+ * Image: Preview Images
82+ * Input: Convert Input Types To Text
83+ * Bullet Point: Convert Bullet Points To Numbers
84+ * Colour: Print Colours Used
85+ * Link: Highligh Internal & External Links
86+ * Link: Display URLs As Links
87+ * DOM: Design Mode Off
88+ * DOM: Design Mode On
89+ * Element: For Each Element Do...
90+ * Element: Wrap
91+ </details >
92+
93+ <details >
94+ <summary >GitHub</summary >
95+
96+ * Review: Mark As Viewed
97+ * Review: Mark Files As Unviewed
98+ </details >
99+
100+ <details >
101+ <summary >Miscellaneous</summary >
102+
103+ * Misc: Console Save
104+ * Misc: Log Globals
105+ * Misc: Remove Bloat
106+ * Misc: Restore Console
107+ * Misc: Find Stack
108+ * Misc: Generate QR Code For Current Website
109+ * Misc: Log Word Frequency
110+ * Account: Find Public Credentails
111+ * Cookies: Remove All
112+ * Cookies: View All
113+ * Script: View All
114+ * Source: View Highlighted Source
115+ * Input: Display Passwords
116+ </details >
117+
118+ <details >
119+ <summary >Network</summary >
120+
121+ * Network: Cache Buster
122+ * Network: Generate Hash Link
123+ * Network: Heatmap
124+ * Network: Is This Website Down
125+ * Network: Link Checker
126+ * Network: Log Query Strings
127+ * Network: Performance
128+ * Network: Performance 2
129+ * Network: Performance Stats
130+ * Network: Show Headers
131+ </details >
132+
133+ <details >
134+ <summary >Styling</summary >
135+
136+ * Pretty Print: CSS File
137+ * CSS: Insert
138+ * CSS: Plain
139+ * CSS: Remove
140+ * CSS: Remove 2
141+ * CSS: View
142+ * CSS: Reload
143+ * CSS: Remove Colours
144+ * Forms: Plain
145+ * Font: What Font
146+ </details >
147+
148+ <details >
149+ <summary >Events</summary >
150+
151+ * Log: Segment Events
152+ </details >
0 commit comments