Better Ruler icon

Better Ruler

Extension Actions

How to install Open in Chrome Web Store
CRX ID
ilcnadaaninblgbekoaihdhoiecaflie
Status
  • Extension status: Featured
  • Live on Store
Description from extension meta

一款网页测量工具,支持吸附测量。为前端开发和ui设计提供便利。

Image from store
Better Ruler
Description from store

**一款支持智能吸附的网页测量工具,让前端开发和 UI 设计更轻松。**

### ✨ 功能特性

- **智能吸附**:移动鼠标时按住 `Alt` (Mac 为 `Option`),可自动识别并吸附到页面元素,支持吸附到**边线、四个顶点和四条边线中点**,实时显示元素尺寸。吸附预览框颜色会自动与测量框区分,便于识别。
- **即时测量**:按住左键拖动,即可在吸附元素边缘的同时创建测量区域。
- **自由编辑**:双击已创建的测量区域进入编辑模式,可自由拖拽位置或调整大小。
- **Esc**:退出编辑模式
- **Backspace**:删除当前选中的测k区域
- **状态指示**:插件图标会根据启用状态变化(彩色=启用,灰色=关闭),方便识别当前状态。
- **快捷键帮助**:工具栏中的 `?` 按钮悬停可查看所有快捷键说明。
- **个性化定制**:
- **独立颜色和透明度**:每个测量框可单独设置颜色和透明度,选中元素时修改只影响当前选中项
- **全局模式**:开启后,修改颜色或透明度会同时影响所有已存在的测量框
- **单一模式**:开启后只能同时存在一个测量框,绘制新框时自动清除旧框
- **尺寸位置**:可配置尺寸信息显示位置(中心、四个角等)
- **虚线背景**:可选择测量框使用实心或虚线背景效果
- **参考线**:自动显示水平和垂直参考线,并标注 X、Y 坐标
- **十字线**:可配置是否鼠标十字参考线
- **快捷控制**:
- `f` 键(可配置):切换工具栏显示/隐藏
- `r` 键(可配置):切换参考线显示/隐藏
- `Shift` 键:切换尺寸数值显示/隐藏
- `Alt + z`(可自定义):全局快捷键启动/关闭插件
- 双击 `z` 键(可配置):页面内快速激活/关闭插件(需插件至少启动过一次)
- **本地支持**:在 `chrome://extensions` 中开启"允许访问文件网址",即可测量本地 HTML 文件。
- **兼容性**:支持移动端模拟模式(需将 `device type` 设置为 `no touch`)。

Latest reviews

ppp
good job
Yaser
Really great simple extention!
Asep IT
Good, And Thank You
KOTA KAWANISHI (OKAKA)
good! easy to use!
Alex Raven
A very good extension. Useful for me as for a web developer. There is one important function missing I think - activate it by hotkey (changeable). So you press hotkey and ruler appears. Press second time - and it disappears.
Rajesh
Please Add option to detact auto height widht of object.
Mizanur Rahman
Awesome I'm thankful to the developers.
Junaid Khan
Brilliant tool.
Hamid Imomov
It works with local files too. Good!
David Rahrer
Great, simple ruler -- just what I was looking for. One thing, I closed the bar at the bottom of the screen. How do I get it back? Thanks again for your work.
Katie Bruhl
Simple to use and very useful. Thank you.
Katie Bruhl
Simple to use and very useful. Thank you.
WHO IS
how to set the language to english?
WHO IS
how to set the language to english?
Rajesh
I recently came across the Better Ruler Chrome extension and I must say, it has been an incredibly helpful tool for my web development projects. This extension provides a simple and intuitive way to measure various elements on a webpage, making it easier than ever to ensure pixel-perfect precision.
Cássio Gabriel Santos
Extensão muito top, prática e simples de usar. Só falta ter a opção de mudar de idioma. Um inglês já bastaria
tj y
增加一个快捷键用于显示隐藏工具栏,现在按键会和 vimium 冲突
Yunhai Wang
牛批 兄弟
Youssef OUIZIANE
Again Good Job Developers !
Youssef OUIZIANE
Again Good Job Developers !
BIUBIU UP
更新之后更好用了
Stefan Trinh
Perfect. check check my UI properly now
Stefan Trinh
Perfect. check check my UI properly now
Arthur Volokhov
It doesn't work with local files html. Не работает с локальными файлами html.
Med choayb bouanimba
just perfect
Med choayb bouanimba
just perfect
Alexander Nikonov
During the usage, caused the Maximum call stack size exception.
Alexander Nikonov
During the usage, caused the Maximum call stack size exception.
Usman Basharat
Simple and Superb
Usman Basharat
Simple and Superb
Google利用歴5年以上(PCゲームギーク)
これは、思っていた以上の性能。 所謂OCR系というんですかねぇ。 この手のフリーソフト(アドオン)は、沢山あるけど、大体1つの座標しかキャップチャー出来ない。 でも、コイツは、複数の座標をキャプチャーできる(しかも、キャプチャーしたままの状態を維持できる)。 これが無料で使えるなんて。凄い世の中になったものだなぁ・・・😮
Võ Đức Mạnh
Nice extensions
Vo Duc Manh (IT Kai nè)
Nice extensions
Mauricio Souza
simples, prático e fácil... a melhor ferramenta de medidas que encontrei!
Hardi
Perfect! The shortcut is helpful too
Hardi
Perfect! The shortcut is helpful too
Sudipto Mitra
This is really better ruler.
Sudipto Mitra
This is really better ruler.
Denis Semionov
Exactly what I needed
Denis Semionov
Exactly what I needed
Tony Tschanz
Fantastic Ruler, sample and effective, makes crosshairs over full screen while moving the cursor. Also useful to scale points with axes on graphs.
Tony Tschanz
Fantastic Ruler, sample and effective, makes crosshairs over full screen while moving the cursor. Also useful to scale points with axes on graphs.
Roman Velboi
This ruler works with developer tools!
Roman Velboi
This ruler works with developer tools!
Jovan Mabilin
It wasn't that compatible in Tablet and Mobile View.
Jovan Mabilin
It wasn't that compatible in Tablet and Mobile View.
Stacie T
This does exactly what I needed it to do! Thank you!
Stacie T
This does exactly what I needed it to do! Thank you!
Theodore Nguyen
This is what I look for, easy to use and convenient
Theodore Nguyen
This is what I look for, easy to use and convenient