Giter VIP home page Giter VIP logo

tree-style-history's Introduction

Tree Style Histyle

GitHub tag (latest by date) Microsoft Edge Addons Chrome Web Store CC BY-NC-ND

This extension shows your recent browser history in tree style.
When you browser pages from internet, you always jump from one page to another by clicking hyper-text links. This extension shows such a jumping relationship through a tree structure, help you find out what you were doing, what website you visited, and whether something has been done.

Also following features are available.

  1. Use the right-click menu to quickly search the history for current site, or the site linked to.
  2. Tree view of recently closed pages. They are group by when they were closed and whether they were closed properly.
  3. Linear view of bookmarks. Usually browser shows bookmarks in tree style, this extension does the opposite, reorders and displays bookmarks by time and site.
  4. Quickly switch tabs in popup page. Sort tabs in reverse order of the time you visited.

This work is based on Recent History and has get the permission to modify and publish the code as a new exttension, many thanks to Umar.
Currently only Chinese and English UI are available.

树状展示浏览器历史。 在使用浏览器访问网页时,用户往往会通过点击链接,从一个页面跳转到另一个页面。本扩展通过树状结构展示了这样的跳转关系,从而让用户能够更快地弄清楚自己当时在做什么,访问了什么网站,当时要做的事情是否已经完成。 除此核心功能外,还有如下特色:

  1. 使用右键菜单,快速搜索当前网站,或者链接指向的网站的访问历史。
  2. 树状查看最近关闭的页面。根据关闭页面的时间、是否正常关闭对页面自动分组。批量打开一个分组的全部页面。
  3. 线性查看书签。通常浏览器使用树状结构展示书签;本扩展反其道而行,按照时间和网站重新排序并展示书签,方便查看和整理最新收藏的内容。
  4. 快速切换最近访问的标签页。在弹窗中按照访问时刻倒序排列标签页。

灵感来自Firefox扩展voyage,后来ff飙版本的时候这个扩展就废了,现在连发布页都被删除。
我一直没有再见到类似的扩展,所以自己就搓了一个,算是完成多年夙愿。
基于Umar的扩展Recent History修改,已经获得原作者Umar的许可可以修改并且作为一个新的扩展进行发布,非常感谢他的劳动和许可。

Policy

Tree Style History collects your browser history, analyzes it and stores it on your computer, and shows it when needed.
It does not upload data to the Internet or share it with other programs. When you uninstall the extension, all saved data will be automatically erased by the browser.

Tree Style History会收集您的浏览器记录,分析并存储到您的计算机内,并在需要的时候进行展示。
它不会上传数据上传到互联网或者分享给其他程序。当您卸载扩展时,所有保存的数据均会被浏览器自动清除。

Install

I have uploaded it to Edge Add-ons https://microsoftedge.microsoft.com/addons/detail/gfmkhnaldbgcpoddmapciblllofekbpn

I don't have Chrome Web Store developer account, but @oXnMe uploaded it to Chrome Web Store https://chrome.google.com/webstore/detail/tree-style-history/khcenbpnhbeplojhaolbpldmoppicold

Or download - unzip - load the folder in developer mode.
#1

Both Chrome and Edge require extensions adapt to Manifest V3, but I couldn't update this extension to Manifest V3, so this extension will soon become unusable.

已经上传到Edge外接程序商店 https://microsoftedge.microsoft.com/addons/detail/gfmkhnaldbgcpoddmapciblllofekbpn

我没有Chrome商店的开发者帐号,但是有网友代上传了Chrome商店. https://chrome.google.com/webstore/detail/tree-style-history/khcenbpnhbeplojhaolbpldmoppicold

或者打开浏览器的开发者模式,下载压缩包解压并载入
https://jingyan.baidu.com/article/ca2d939dfa5762ab6d31ce10.html
#1

Chrome和Edge都要求浏览器扩展适配manifest v3,但是由于我无法把此扩展更新到manifest v3,此扩展即将无法使用

screenshot

Changlog

3.1.13 (2024/04/29) 调整popup窗口所能显示的项目数量的上限,处理favicon 为空的情况。

3.1.12 (2022/06/23) 增加功能:在弹窗中显示最近浏览的标签页,快速切换标签页; 优化功能(弹窗中的最近关闭的标签页):数据改为从Chrome API获取,点击改为恢复会话而不是打开网页,关闭窗口显示一笔记录点击时可以直接恢复窗口

3.1.11 (2022/06/11) 修改选项:自定义点击图标后的动作;调整右键菜单的文本,增加是否显示右键菜单的开关(#15)

3.1.10 (2022/06/10) 增加功能:在树状历史中点击链接时,如果已经有此网址对应的标签页,则跳转到已经打开的页面,而不新打开页面(另外在测试时发现浏览器要求升级manifest_version,试了试不太能轻松搞定,希望有朋友来帮忙完成更新!)

3.1.9 (2022/1/27) 完善线性历史、线性书签的外观:为按钮增加提示文字,优化时间显示,去除线性书签的无效checkbox和无效提示内容,显示线性书签的域名分类下包含的书签数量

3.1.8 (2021/8/9) 增加选项:在“弹窗设置”中增加“显示弹窗”选项,选择是(弹窗)否(打开树状历史)

3.1.7 (2021/6/24) 修复bug:在“最近关闭”的页面点击链接,会自动打开2个页面

3.1.6 (2021/6/7) 修复bug:Chrome无法显示默认历史管理器的问题(在Edge是正常的);线性书签无法正常显示小书签(bookmarklet)

3.1.5 (2021/5/29)
增加功能:线性书签标签页。
增加选项:指定在popup弹窗中点击“更多”时,打开浏览器默认的页面还是扩展内置页面。
修复bug:设置-下载参数时弹窗顺序显示有错误;日期没有自动补零。
已知问题:浏览器限制同一个扩展最多绑定4个快捷键,现在通过特别的方式绑定了5个快捷键,导致扩展默认快捷键无法生效,需要手动设置。

3.1.4 (2021/5/22) - 增加功能:树状历史中显示较少的历史(默认关闭,需要在设置中手动打开),批量打开最近关闭的页面。优化:微调外观,一定程度上实现了窄窗口自适应(但是使用Android kiwi浏览器测试确认手机不能实现主要功能),统一变更过滤域名的算法

3.1.3 (2021/5/18) - 增加功能:树状展示最近关闭的页面;修复:令日期和时间选项对树状历史同样生效;优化:微调外观,修改设置中的默认参数。

3.1.2 (2021/5/11) - 优化搜索浏览记录功能,增加选项同步功能(跟随浏览器账户自动同步),增加快捷键设置(可以通过设置快捷键替换默认历史记录管理器),缓存访问历史的网址数量,优化部分UI的样式和命名,增加清除缓存功能,优化网址过滤功能。

3.1.1 (2021/04/26) - 为树状历史页增加访问类型筛选功能,为树状历史增加loading动画/加大行间距,增加对网址标题特殊符号的处理,历史数量较少时自动载入前日记录,调整默认的设置参数,调整Chrome设置默认历史页面的选项(Edge屏蔽此功能),增加设置页的提示文字,优化历史缓存记录,降低搜索字数限制,增加暗黑模式(根据浏览器设置自动切换),调整popup页面外观,增加右键菜单“搜索此网站的浏览记录”。

3.1.0 (2021/04/18) - Add the basic tree style function.

License

Tree Style History, Tree Style History (Toolbar Icon)

Copyright (c) 2021 Tumuyan [email protected]

This Work is based on Recent History and has get the permission to modify and publish the code as a new exttension.


Recent History, Recent History (Toolbar Icon)

Copyright (c) 2011-2020 Umar Sheikh [email protected]

THE EXTENSION IS PROVIDED IN THE HOPE THAT IT WILL BE USEFUL, BUT WITHOUT ANY WARRANTY. IT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW THE AUTHOR WILL BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Attribution-Noncommercial-No Derivative Works 3.0 Unported http://creativecommons.org/licenses/by-nc-nd/3.0/

tree-style-history's People

Contributors

tumuyan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tree-style-history's Issues

希望能在历史记录页显示 URL

希望能在历史记录页显示 URL。(而不仅是 pop-up 的预览)
这么做的意义在于,我希望也能用网址而不是标题来检索历史记录。

另外,Chromium 对于没有成功打开的标签页,好像都是不会进历史记录的,有办法修改这一行为吗。
希望这么做是因为,当我进行一个广度优先的浏览(也就是边浏览当前网页边打开新标签页,直到浏览完再查看新打开的标签页)的时候,如果网页没有成功打开,不会留下记录,无法从源头知道这个链接的大概内容,需要更多的检索成本。

一些問題與建議

使用環境:
OS: win10 22H2
瀏覽器: chrome 109.0.5414.120 (正式版本) (64 位元)

建議:

  1. 設置裡的名詞說明的不太清楚
    比如Pop-up Order裡面recent history跟recent view tab有什麼差別
    還有tree style history的設置
    image
    排除第一行Show less history,二三行的差異是什麼,第4行150設置的是什麼,以及第5行可以設超過90指能突破chrome限制嗎
  2. popup menu裡5類的標題不明顯
    就是下圖螢光部分,可能可以用粗體或顏色強調一下
    image
    3.Recent Bookmarks的more預設會打開chrome://favorites/,但現在好像是chrome://bookmarks/

問題的部份主要就是時間區間的篩選好像都不起作用
比如Liner History頁面右上的all history切換後還是只有單日的
以及懸浮的日曆看似可以選區間篩選但還是只有單日,且選擇後日期格式會跑掉(月跟日調換)
image
這個問題好像原本的Recent History就有了 不知道能不能改動

Overwrite Default History Interface

Hello, thanks for your awesome work. This extension helps me a lot.
But it doesn't overwrite the default history interface in recent version by default on Chrome.
Could you provide a switch to determine whether to override the default history interface?

没法正确地打开树状历史

在点击扩展按钮显示的界面中,点击“更多”按钮,预期是打开树状历史(或者至少是线性历史,最好是可配置的),但是实际上只会打开edge://history
扩展版本 3.1.7,Edge 版本 92.0.902.62。

Add Firefox support

希望能为Firefox提供支持,本身不是专业做前端的同时没做过浏览器拓展某些问题需要帮助

I found this ext very usful and I am trying to add support to firefox, it turns out that there just need a litte change in manifest to make it runable:

  • firefox provide no support fof chrome://favicons so it needs to be removed, and therefore now the favicon of each history should leave empty (I am trying to find some api replacement but still no idea)
  • firefox use options_ui instead of options_page
  • firefox do not use update_url

there still have some bugs to fix:

  • some chome-only url call using chrome_url needs to be replaced by web extension format
  • recent closed tab don't work (firefox use standard api browser.sessions.getRecentlyClosed instead of chrome.extension.getBackgroundPage().closedTabs)
  • favicon

so if possible I hope there could be an offical support for firefox, which won't need too much time to make it work.

some detail can be found at https://www.extensiontest.com and https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API

弹窗宽度显示有问题!!!

    大佬,您好。之前一直用着Recent History,前几天忽然发现不能进行中文搜索了,而且作者也已经好久没更新了,所以就想着找个替代品。然后有人向我推荐了您的这个扩展,看了介绍才知道,原来这个也是跟那个扩展 有关系的,设置界面也很相似,也算是无缝衔接了,而且还增加了历史树的功能,用着感觉很不错!
     但是有个问题:我设置好了弹窗的宽度,刚打开浏览器显示是正常的,可是过了一会再点,就发现界面变长了,差不多得是原来的三倍长了,设置了好几次都是这样,在Recent History上没出现过这个宽度的问题。。
     另外有个小提议是,能不能增加下弹窗里的历史记录条数,现在的这个扩展和之前的一样,最多只有30条,稍微往下翻翻就没有了,如果可以的话,麻烦大佬抽空可以实现一下。

图标背景

可否将图标背景改成透明了,看着怪难受的的🤣
image

希望能为“隐藏指定域名的访问历史”增加正则表达式支持,以及允许设置“默认不树状展开的域名”

  • 为“隐藏指定域名的访问历史”功能(见下图)增加正则表达式支持

目前想隐藏部分历史,只能通过域名匹配,希望能增加正则表达式支持。

image


  • 增加设置“默认不树状展开的域名”功能

某些网站,比如 Google Maps, Google Earth 一旦打开会生成很多历史记录,同时在插件中显示为一层一层向下展开,造成“刷屏”(见下图)。故希望能允许设置默认不树状展开的域名。当然,同样希望支持正则。

image

单行显示(bookmarklet优化)

您好,我会使用一些bookmarklet,这些个东东在显示时会显示成很多行,但只需要显示出一个name,希望可以对这些部分进行优化

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.