Skip to content

Releases: rowthan/whats-element

Simplify the queryType results

19 Aug 02:36
Compare
Choose a tag to compare
Pre-release

根据API简化返回结果。

  • document.getElementById()
  • document.getElementByName()
  • document.querySelector()

Chrome Extension

14 Aug 06:42
Compare
Choose a tag to compare

支持 Chrome 插件形式运行

simplify,minify whats-element

14 Aug 06:39
Compare
Choose a tag to compare

change click listener to mousedown.
minify under 5kb.

正式推出第一版,demo页可预览效果。

21 Jan 03:54
Compare
Choose a tag to compare
  • 插件不依赖任何第三方工具,压缩后不到 5kb 。
  • 优化特殊情况下元素标识符计算规则。(id为数字的情况)
  • 在线可预览效果

重构whatsElement写法,使用函数对象实现

10 Dec 14:38
Compare
Choose a tag to compare

提供四个API:

  • whatsElement.getTarget(queryString)
  • whatsElement.getUniqueId(HTMLElement)
  • whatsElement.draw(result)
  • whatsElement.clean()