Code Preview

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

什么是Code Preview?

Code Preview是由VladB开发的Chrome扩展程序,该扩展的主要功能是“A Chrome extension to preview code snippets and answers to code questions in Google search results.”。

扩展截图

screenshot
screenshot

下载Code Preview扩展crx文件

下载Code Preview扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        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!                    

扩展基本信息

名称 Code Preview Code Preview
ID aggcimncbpmbcjigijokokinffnojcoo
官方URL https://chromewebstore.google.com/detail/code-preview/aggcimncbpmbcjigijokokinffnojcoo
简介 A Chrome extension to preview code snippets and answers to code questions in Google search results.
文件大小 330 KB
安装次数 38
当前版本 1.1
更新时间 2023-05-24
上架时间 2023-05-17
评分 5.00/5 共1次评分
开发者 VladB
电子邮箱 [email protected]
付费类型 free
支持的语言 en
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": [
                ""
            ]
        }
    ]
}