本文介绍了在Mozilla Firefox中,如何提取当前打开的标签数量以保存在别处?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想自动计算在Firefox中打开的标签数量,以便随着时间的推移可以跟踪这个数据。

因此,我不能获得一个在状态栏或浏览器的其他地方显示当前编号的插件。

我已经查看了firefox保存的.sqlite表的内容每个配置文件,但我还没有能够破译是否有一个当前打开的选项卡的表。我还查看了历史记录表中是否有一列指出页面当前是否打开。



这些信息是否可以在数据库中使用?



如果是这样,那么存储的信息在哪里可以用来计算当前打开的标签的数量?

如果不是,那么附加组件怎么样? Tab Counter找出这个号码?最后一个问题,我会问开发人员,如果它不是一个普通的知识,我可以在这里得到答案,而不是要求某人可能希望你使用他或她的插件。

解决方案

@Xidus:历史和书签存储在places.sqlite中。你不能在这里确定标签和窗口的信息.tabs和windows的信息都存储在sessionstore.js文件中。你可以参考这个链接:



I want to automatically count the number of tabs that are open in Firefox so that I can track this over time.

It is therefore not enough that I can get an add-on that displays the current number in the status bar or somewhere else in the browser.

I have looked at the content of the .sqlite tables that firefox saves for each profile, but I have not been able to decipher whether there is a table of currently opened tabs or not. I also looked to see whether there is a column in the history table that tells whether the page is currently open or not.

Is this information available in the databases at all?

If so, where is there information stored that can be used to count the number of currently open tabs?

If not, how do add-ons like e.g. Tab Counter find out this number? This last question I will ask of the developer, if it does not turn out to be common enough knowledge that I can get an answer here, rather than ask for it of someone who probably want you to use his or her add-on instead.

解决方案

@Xidus: History and bookmarks are stored in the places.sqlite. You cannot determine tabs and windows information here.tabs and windows information are stored in the sessionstore.js file.You can refer this links:

http://kb.mozillazine.org/sessionstore.jshttp://forums.mozillazine.org/viewtopic.php?f=38&t=622036&start=60&p=12098147#p12098147

这篇关于在Mozilla Firefox中,如何提取当前打开的标签数量以保存在别处?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 14:31