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
官方網址 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": [
                ""
            ]
        }
    ]
}