Comments (3)
Yeah, I think this would be great. I don't think there is an API for it, although I could be wrong -- I make a note about this here (added emphasis):
for a lot of things in the extension API, the browser can notify you of updates but there's no apparent way to query the full current state. so we'd need to sit in a lot of these places from the beginning and accumulate the incoming events to know, like, the last time a tab was updated, or the list of scripts currently running on a tab
If there is an extension API (or if it can be done through a Web page-side API with injected JS?), or if we do set up that time accumulation ourselves, it should be pretty easy to add the ctime to getattr in the code.
I think that you could do some cool subtleties, where the ctime is the time the tab was created and the mtime is the time of last navigation on that tab. (and I guess that would apply to both by-id/*
and by-title/*
. maybe last-focused
has mtime based on the time you focused on that tab?)
from tabfs.
Related: #21
from tabfs.
There is a lastAccessed
field in the Tab object. I don't see anything else in there related to creation/modification time.
from tabfs.
Related Issues (20)
- Extension removes itself from Chrome
- RSS content ?
- Support for Firefox Multi-Account Containers
- Setup with flathub/org.chromium.Chromium on Linux
- Move tabs between windows? HOT 2
- touch evals/script.js to evaluate it again
- Set of words in text.txt files for autocomplete
- "Level 2 not synchronized" HOT 6
- Running on multiple profiles
- How to get text/body content when in Reader mode? (firefox)
- [Feature Request] Headers
- Document how to use TABFS_MOUNT_DIR HOT 1
- not able to access debugger folder HOT 2
- Which tabs are playing music? HOT 1
- Idea: Use in-browser WebAssembly to emulate a unix system to use TabFS HOT 2
- Upgrading to Manifest v3
- Non-existent tabs under 'by-id' HOT 1
- Manifest file is missing or unreadable
- maybe the symbolic link implementation for fusefs is not correct?
- Can't see or delete some watches files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tabfs.