A Chrome extension to preview code snippets and answers to code questions in Google search results.

Latest Version

Version
1.1
Update
May 23, 2023
Size
330KiB
Developer
Category
Users
52
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Scripting
ActiveTab
See more

Code Preview Extension

Code Preview Snippets is a powerful developer tool that enhances your Google search experience by displaying code snippets directly on the search results page. With this extension, you can quickly preview code examples and answers to coding questions without having to visit individual websites.

Features:

- Seamless Integration: The extension seamlessly integrates with Google search, automatically detecting code snippets and relevant answers from popular programming websites.

- Instant Code Previews: Get a quick glance at code snippets and answers right within the search results, saving you time and effort.

- Syntax Highlighting: Code snippets are beautifully highlighted using Prism syntax highlighting, making it easy to distinguish different programming languages.
Copy to Clipboard: Copy code snippets to your clipboard with just one click, allowing you to easily use them in your own projects.

- Toggle Functionality: Enable or disable the extension with a simple toggle switch, giving you control over when to display code previews.

- Code Preview Snippets supports a wide range of programming websites, including Stack Overflow, GitHub, CodePen, and more. It intelligently extracts code snippets and answers, providing you with valuable coding resources at your fingertips.

Enhance your coding workflow with Code Preview Snippets and gain immediate access to code examples and answers without leaving the search results page. Install the extension now and take your programming productivity to new heights!
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Code Preview", "version": "1.1", "description": "A Chrome extension to preview code snippets and answers to code questions in Google search results.", "permissions": ["scripting", "activeTab"], "content_scripts": [ { "matches": ["https://www.google.com/*"], "js": ["contentScript.js", "lib/he.js", "lib/prism.js"], "css": ["lib/prism.css", "lib/site.css"], "run_at": "document_idle" } ], "action": { "default_icon": { "16": "img/icon16.png", "48": "img/icon48.png", "128": "img/icon128.png" }, "default_popup": "popup.html" }, "icons": { "16": "img/icon16.png", "48": "img/icon48.png", "128": "img/icon128.png" }, "background": { "service_worker": "background.js" }, "web_accessible_resources": [ { "resources": [ "lib/he.js", "lib/prism.js", "lib/prism.css", "lib/site.css", "contentScript.js", "popup.js", "backgroundScript.js", "img/icon16.png", "img/icon48.png", "img/icon128.png" ], "matches": [""] } ]}
Read more

Similar Extensions

icon

Access Tool Extension · Developer Tools 52 1 ★ 11.09KiB

icon

ReadCopilot - Chat with All Your Info Sources Extension · Productivity 52 3 ★ 1.36MiB

icon

RxHistory Extension · Productivity 52 0 ★ 517KiB

icon

Echo360+ Extension · Productivity 52 0 ★ 17.61KiB

icon

Codefaster Extension · Developer Tools 52 0 ★ 1.23MiB

icon

Gifs4Twitch Extension · Social & Communication 52 1 ★ 779KiB

icon

Snippet Sage Extension · Developer Tools 52 0 ★ 770KiB

icon

Cricket Click Cloud Dialer Extension · Productivity 52 0 ★ 161KiB

icon

Code Search Extension · Developer Tools 52 2 ★ 578KiB

icon

Jira Story Points in Kanban Swimlanes Extension · Productivity 52 1 ★ 696KiB

icon

Read Theory Student Data Export Extension · Productivity 52 0 ★ 714KiB

icon

Twitter Reaction Counter Extension · Social & Communication 52 0 ★ 133KiB

icon

RChilli Oracle Extension Extension · Developer Tools 52 0 ★ 10.98MiB

icon

Oracle Apex Session Manager Extension · Productivity 52 2 ★ 12.76KiB

icon

Synqnest Extension · Productivity 52 5 ★ 12.47MiB

icon

BardReadAloud Extension · Accessibility 52 0 ★ 52.25KiB

icon

Funimation Remove Video Player Shadow Extension · Accessibility 52 2 ★ 3.1KiB

icon

PhishGuard Extension · Social & Communication 52 1 ★ 54.87KiB

icon

Meerkat - Market Notes Extension · Shopping 52 2 ★ 61.35KiB

icon

Whisper API chrome-extension Extension · Productivity 52 0 ★ 29.97KiB

icon

X logo to Twitter Logo Extension · Accessibility 52 2 ★ 18.15KiB

icon

my-nft-tracker Extension · Productivity 52 0 ★ 36.94KiB

icon

Proposal AI Extension · Productivity 52 0 ★ 2.44MiB

icon

Transcripti Extension · Productivity 52 0 ★ 205KiB