Kimi-preview 是一个代码预览助手,能够在https://kimi.moonshot.cn网页中对生成的 HTML 代码块或者 SVG 代码块 提供便捷的预览功能。

Latest Version

Version
1.0.4
Update
November 14, 2024
Size
203KiB
Developer
Category
Users
10
Rating
1 ★
Manifest Version
3
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
See more

kimi-preview Extension

Kimi Preview is a code preview assistant that provides a convenient preview function for generated HTML and SVG code blocks on the website https://kimi.moonshot.cn.

Users can simply click the \"Preview\" button next to each code block to view the actual effect of the code in a drawer on the right side. This extension supports dynamically loaded code blocks, ensuring that users always have access to the latest preview functionality as the page content updates. Currently, it supports HTML and XML code blocks.

Main features include:

Automatically adds a \"Preview\" button to each HTML code block.
Opens a preview window to display the effect of the code upon clicking the button.
Provides a close button for users to exit the preview easily.
Offers an image download button for users to download the preview image.
Supports dynamic content updates to ensure new code blocks can also utilize the preview feature.
----------
kimi-preview 是一个代码预览助手
能够在https://kimi.moonshot.cn网页中对生成的 HTML 代码块或者 SVG 代码块 提供便捷的预览功能。

用户只需点击每个代码块旁边的“预览”按钮,即可在右侧抽屉查看代码的实际效果。
该扩展支持动态加载的代码块,确保在页面内容更新时,用户始终能够访问到最新的预览功能。
目前支持 html / xml 两类代码块。

主要功能如下:
为每个 HTML 代码块自动添加“预览”按钮。
点击按钮后,打开预览窗口,展示代码效果。
提供关闭按钮,方便用户随时退出预览。
提供图片下载按钮,方便用户下载预览的效果图
支持动态内容更新,确保新添加的代码块也能使用预览功能。
Read more

Source Manifest.json

{
"update_url": "https://clients2.google.com/service/update2/crx",
"manifest_version":3,
"name":"kimi-preview",
"description":"kimi-preview \u662f\u4e00\u4e2a\u4ee3\u7801\u9884\u89c8\u52a9\u624b,\u80fd\u591f\u5728https://kimi.moonshot.cn\u7f51\u9875\u4e2d\u5bf9\u751f\u6210\u7684 HTML \u4ee3\u7801\u5757\u6216\u8005 SVG \u4ee3\u7801\u5757 \u63d0\u4f9b\u4fbf\u6377\u7684\u9884\u89c8\u529f\u80fd\u3002",
"version":"1.0.4",
"icons":{"16":"icon/16.png",
"32":"icon/32.png",
"48":"icon/48.png",
"96":"icon/96.png",
"128":"icon/128.png"},
"web_accessible_resources":[{"matches":["https://kimi.moonshot.cn/*"],
"resources":["/ui.js"]}],
"content_scripts":[{"matches":["https://kimi.moonshot.cn/*"],
"run_at":"document_end",
"js":["content-scripts/content.js"]}]}
Read more

How to download and manually install kimi-preview extension for Chrome

Looking for a way to install kimi-preview extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install kimi-preview extensions manually, this article outlines two simple methods to effortlessly install kimi-preview extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download kimi-preview extension and manually install through Drag &Drop

If you ever need to manually install a kimi-preview extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the kimi-preview Extension by clicking the "Download CRX" button on the website.

Look for the kimi-preview extension you wish to install. Go to the website and download the kimi-preview extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for kimi-preview extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the kimi-preview extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download kimi-preview extension for Chrome and install in Developer Mode

This is another method to install kimi-preview extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the kimi-preview extension file

Select and download the kimi-preview extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the kimi-preview extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your kimi-preview extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the kimi-preview extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install kimi-preview extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Kwai Pixel Helper Extension · Developer Tools 10 2 ★ 766KiB

icon

MZ Disable JavaScript Extension · Developer Tools 10 2 ★ 504KiB

icon

Kimi Sidebar - Kimi侧边栏助手 Extension · Productivity 10 7 ★ 406KiB

icon

React code finder Extension · Developer Tools 10 5 ★ 2.95MiB

icon

【ChatGPT/Gemini/Claude対応】プロンプト管理システム「チャプロ」 Extension · Accessibility 10 350 ★ 1.15MiB

icon

Adobe Experience Cloud Visual Editing Helper Extension · Developer Tools 10 8 ★ 190KiB

icon

Kimi Explorer Extension · Productivity 10 132 ★ 2.48MiB

icon

Source Code Formatter & Beautifier Extension · Productivity 10 1 ★ 253KiB

icon

Obsidian Web Extension · Productivity 10 67 ★ 641KiB

icon

svg-grabber - get all the svg's from a site Extension · Developer Tools 10 5 ★ 42.96KiB

icon

SVG Export Extension · Productivity 10 211 ★ 316KiB

icon

Page Manipulator Extension · Developer Tools 10 35 ★ 2.17MiB

icon

Image Vectorizer (Convert to SVG) Extension · Productivity 10 2 ★ 62.65KiB

icon

Kimi Copilot - 网页总结助手 Extension · Productivity 10 100 ★ 227KiB

icon

Arc Peek: Link preview Extension · Productivity 10 5 ★ 902KiB

icon

Live editor for CSS, Less & Sass - Magic CSS Extension · Developer Tools 10 266 ★ 2.15MiB

icon

Code Beautifier (JS, CSS, HTML) Extension · Developer Tools 10 1 ★ 222KiB

icon

HTML CSS Viewer Extension · Developer Tools 10 0 ★ 7.65KiB

icon

Ruliweb Extension Extension · Social & Communication 10 12 ★ 121KiB

icon

Github Html Preview Extension · Developer Tools 10 2 ★ 13.77KiB

icon

Export SVG with Style Extension · Productivity 10 42 ★ 21.41KiB

icon

CSS Debugger Extension · Developer Tools 10 9 ★ 13.27KiB

icon

SVG Code Downloader Extension · Photos 10 2 ★ 14.36KiB

icon

Wireframeit - Instant Website Wireframing Extension · Productivity 10 1 ★ 1.0MiB