ContextSearch web-ext 的评价
ContextSearch web-ext 作者: Mike B
Mike B 的回应
开发者回应
发布于 6 年前(edit)
I took another look at how Speedometer 2.0 works and why the slowdown. It's not actually a content script loading issue. The page simulates a ton of click events. Every click event triggers a very light "menu close" event and method. When the addon gets flooded with hundreds of simulated click events per second, it bogs down the page. It's nothing you'd experience in a real-world situation. The Speedometer rating flat-out misleading.
This addon injects content scripts into iframes to maintain most if not all function when searching text inside iframes.
When testing using Speedometer 2.0, content scripts are being loaded into the iframe every refresh. If that iframe refreshes 480 times, or whatever the actual count is, it adds up.
For reference, I ran tests while injecting this addon's code into the iframe, or not -
with iframe injection: 29.41 runs/min
without iframe injection: 63.66 runs/min
I took another look at how Speedometer 2.0 works and why the slowdown. It's not actually a content script loading issue. The page simulates a ton of click events. Every click event triggers a very light "menu close" event and method. When the addon gets flooded with hundreds of simulated click events per second, it bogs down the page. It's nothing you'd experience in a real-world situation. The Speedometer rating flat-out misleading.
This addon injects content scripts into iframes to maintain most if not all function when searching text inside iframes.
When testing using Speedometer 2.0, content scripts are being loaded into the iframe every refresh. If that iframe refreshes 480 times, or whatever the actual count is, it adds up.
For reference, I ran tests while injecting this addon's code into the iframe, or not -
with iframe injection: 29.41 runs/min
without iframe injection: 63.66 runs/min
204 条评价
- 评分 5 / 5来自 Jean-Ricky, 2 个月前MUCH MORE than contextual (select text & launch) search
 MULTIPLE SITES (not only "whole web" - as Google & the likes) search engines AT ONCE
 makes this add-on UNIQUE !
 Besides, it is HIGHLY CUSTOMIZABLE : provides
 • different KINDS OF OF MENUS (Context/Quick/Toolbar/Sidebar) to launch searches
 • many UI CONFIGURATIONS OPTIONS to fit your likes
 Just a [very] few points to note :
 • too many options (time to master) ?
 • missing tool-tips & not always detailed enough ones...
 Whatever: unique & powerful
 THANKS
- 评分 5 / 5来自 Firefox 用户 13443993, 4 个月前
- 评分 5 / 5来自 Firefox 用户 13163912, 5 个月前
- 评分 5 / 5来自 Paulthefox, 6 个月前Absolutley excelent add on can customise it as much as needed and works perfect
- 评分 5 / 5来自 Steven_Aston, 6 个月前
- 评分 5 / 5来自 Gemini62167, 7 个月前
- 评分 5 / 5来自 HypnotizedNarcissist, 9 个月前the best from the best
 my respect mike
 easy, fast, great lay-out, top add-on
 thank you very much
 btw. and always good updates
- 评分 5 / 5来自 Seän "Frostbyte" Shepherd, 1 年前
- 评分 5 / 5来自 EarOfWheat, 1 年前
- 评分 5 / 5来自 darlington95, 1 年前
- 评分 5 / 5来自 Seän D. Shepherd, 1 年前
- 评分 5 / 5来自 Ninetynine, 1 年前
- 评分 5 / 5来自 Firefox 用户 10244801, 1 年前Ditched my two faithful companions Context Search Origin and Swift Selection Search when I found this babe.
