XPath Tool可轻松提取、编辑任何网页上的 XPath 查询

Latest Version

Version
1.0.1
Update
November 17, 2024
Size
168KiB
Developer
Category
Users
14
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
中文 (简体)
See more
Permissions
See more

XPath Tool Extension

XPathCssSelecter Tool可轻松提取、编辑任何网页上的 XPath 与 CSS选择器 查询。
1. 打开新标签并导航到任何网页(必须是http或者https开头的地址渲染的网页)

2. 同时按住 Ctrl-Shift-X(或 Mac 上的 Command-Shift-X),或单击工具栏中的图标,从而打开编辑控制台。

3. 点击`查询`旁边的`小图标`开启鼠标悬停选择元素的XPath表达式(查询框将不断更新以显示鼠标指针下方元素的 XPath 查询,结果框将显示当前查询的结果),再次点击`小图标`则关闭鼠标悬停选择功能,同时也可以按键盘上的`Escape`键关闭。

4. 除了步骤(3)中鼠标悬停选择外还可直接在控制台中编辑 XPath 查询。结果框将立即反映您的更改。

5. 同时控制台编辑框中支持输入CSS选择语法进行选择元素

6. 可以按住 Shift 键加方向键(上下)来操作编辑控制台显示位置,同时可以按住 Shift 键鼠标移入进行操作编辑控制台显示位置

7. 重复步骤(2)以关闭控制台。
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "XPath Tool", "version": "1.0.1", "description": "XPath Tool\u53ef\u8f7b\u677e\u63d0\u53d6\u3001\u7f16\u8f91\u4efb\u4f55\u7f51\u9875\u4e0a\u7684 XPath \u67e5\u8be2", "icons": { "16": "assets/icons/16x16.png", "32": "assets/icons/32x32.png", "48": "assets/icons/48x48.png", "64": "assets/icons/64x64.png", "128": "assets/icons/128x128.png", "256": "assets/icons/256x256.png" }, "background": { "service_worker": "js/background.js" }, "action": { "default_icon": { "16": "assets/icons/16x16.png", "32": "assets/icons/32x32.png", "48": "assets/icons/48x48.png", "64": "assets/icons/64x64.png", "128": "assets/icons/128x128.png", "256": "assets/icons/256x256.png" }, "default_title": "XPath Tool" }, "content_scripts": [ { "matches": [ "http://*/*", "https://*/*" ], "js": [ "js/content.js" ], "css": [ "assets/style/content.css" ], "all_frames": true, "run_at": "document_end" } ], "permissions": [], "web_accessible_resources": [ { "resources": [ "iframe/*" ], "matches": [ "http://*/*", "https://*/*" ] } ], "content_security_policy": {}}
Read more

How to download and manually install XPath Tool extension for Chrome

Looking for a way to install XPath Tool 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 XPath Tool extensions manually, this article outlines two simple methods to effortlessly install XPath Tool extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download XPath Tool extension and manually install through Drag &Drop

If you ever need to manually install a XPath Tool 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 XPath Tool Extension by clicking the "Download CRX" button on the website.

Look for the XPath Tool extension you wish to install. Go to the website and download the XPath Tool extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for XPath Tool 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 XPath Tool 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 XPath Tool extension for Chrome and install in Developer Mode

This is another method to install XPath Tool 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 XPath Tool extension file

Select and download the XPath Tool 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 XPath Tool 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 XPath Tool 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 XPath Tool 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 XPath Tool extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

XPath Tester Extension · Developer Tools 14 12 ★ 176KiB

icon

Extract Colors DevTool Extension · Developer Tools 14 7 ★ 85.14KiB

icon

SelectorsHub - XPath Helper Extension · Developer Tools 14 1384 ★ 556KiB

icon

HTFLOW Inline HTML CSS Extractor Extension · Developer Tools 14 5 ★ 206KiB

icon

Eliminar Elemento por XPath Extension · Social & Communication 14 3 ★ 229KiB

icon

XPath Helper 2.0 Extension · Developer Tools 14 0 ★ 31.95KiB

icon

XPath Helper for Google Chrome™ Extension · Developer Tools 14 4 ★ 212KiB

icon

SelectorsHub Pro Extension · Developer Tools 14 12 ★ 839KiB

icon

LetXPath Extension · Developer Tools 14 98 ★ 220KiB

icon

网页转markdown Extension · Productivity 14 12 ★ 25.96KiB

icon

Sitemap Generator Extension · Productivity 14 2 ★ 620KiB

icon

CSS and XPath checker Extension · Developer Tools 14 45 ★ 75.17KiB

icon

SnipCSS Extension · Developer Tools 14 32 ★ 13.12MiB

icon

PageRip (HTML + CSS Extract) Extension · Developer Tools 14 54 ★ 434KiB

icon

Page Edit Extension · Developer Tools 14 31 ★ 229KiB

icon

Inspect CSS Extension · Developer Tools 14 24 ★ 404KiB

icon

Xeedle - Get Relative, Index, Full XPath and Page Object File Extension · Developer Tools 14 26 ★ 1.1MiB

icon

Text Picker Extension · Developer Tools 14 2 ★ 19.11KiB

icon

Xpath Ninja Extension · Developer Tools 14 2 ★ 25.47KiB

icon

XPathMax - XPath Generator Extension · Developer Tools 14 5 ★ 672KiB

icon

CSS Selector Helper Extension · Developer Tools 14 60 ★ 91.27KiB

icon

网页内容提取工具 Extension · Productivity 14 1 ★ 31.82KiB

icon

Universal Sitemap Checker Extension · Developer Tools 14 0 ★ 9.12KiB

icon

Yandex Map Editor extension Extension · Accessibility 14 20 ★ 5.18MiB