你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/453384-straight2thepoint,源站連結 點此以跳轉

Straight2ThePoint

Scroll web page to the sentence shown in search engine results.


點此查看下載連結位址https://update.greasyfork.org.cn/scripts/453384/Straight2ThePoint.user.js

安装此脚本?
作者
liquorburn
日安装量
0
总安装量
19
评分
1 0 0
版本
0.2.21
创建于
2022-10-19
更新于
2022-10-19
大小
4.9 KB
许可证
MIT
适用于
所有网站

Straight2ThePoint script stats installs Straight2ThePoint installs on greasyfork.orgDonate to this project by using Buy Me A Coffee

Straight2ThePoint

Scroll web page to the sentence shown in search engine results

When you click on a link in the results of a search engine, this userscript highlights the words shown as snippet, if found and visible in the web page that opens, be it in same tab, new tab or new browser page. PLEASE NOTE : Use ctrl + click to open link in a new tab and shift + click to open link in a new browser page.

I've read this reddit post and decided to develop this userscript. At the moment only google search results are supported, but, as the same goal can be achieved using almost any search engine, I will add more of them.

Technical details

Highlighting is made using a <mark> tag. I deliberately did not add any css style, therefore highlighting colour can vary from site to site.

  • Yes, "scroll" ain't the most appropriate term, I'd say more like "jump".
  • No, I'm not adding useless things like "smooth scroll".

Demo

coming soon

Search engines supported

  • google
  • [coming soon] duckduckgo
  • [you name it, let me know]

Compatibility

This userscript is tested on Firefox and Brave, both with Tampermonkey, on OSX and Windows operating systems.

Issues

Please use the feedback section.