Comments (2)
Ok, this situation is getting worse: e08f800#diff-051a8a7bcae8db1e4cee8eb09b52e619
Added: webRequest
and webRequestBlocking
The problem is that, up until now, I've been using the chrome-extension:// URL to run the browser app. So the background page runs the fetch requests and the app shows the state. The sendMessage
API is used to communicate between the two.
Unfortunately, this setup causes #1 - the issue where a large feed can park the browser app until it completes. The problem is that the background page is also a chrome-extension:// URL, so it shares a VM with the app. In order to separate them, I moved the app to https://fraidyc.at/s/. This now solves #1 - which is a key issue for me.
I tried using Web workers - but I need the fetch API and the DOMParser() in the worker - so it's a no go.
In all, I feel like the extension API is a poor fit for Fraidycat in this regard. The only permissions I should actually need are:
- Making anonymous HTTP(S) requests.
- Hosting a browser app somewhere that doesn't share a VM with the background script.
- Unlimited storage.
Only the third one should require permissions! There is no way to ask for the first two.
from fraidycat.
On the first permission I listed (access to browser history and tabs), it looks like there is a possible solution by using an iframe: http://www.airovic.com/itsjustaniframe.html
However, one issue here is that JavaScript will run and the page will render. So this could result in drastically different HTML from the stuff gotten by fetch. Still, an option!
from fraidycat.
Related Issues (20)
- Enable "Sort A-Z" and "Recent Posts" at the same time HOT 1
- Firefox sync not syncing on firefox android HOT 6
- Fraidycat not updating feeds? HOT 2
- Put the extension on the Microsoft Edge Addons store
- Option to filter out #shorts from youtube follows
- NetworkError when fetching my feed; works in other readers
- Tiddlywikis are not parsed
- Can't follow Tumblr tag feeds
- Display RSS feed URL on edit screen
- 503 Errors when attempting to load sites that use CloudFlare?
- Cannot import instagram following.json
- fraidycat no longer fetching any new data on Brave HOT 1
- Support using fraidycat without dependency on fraidyc.at domain (make it usable if fraidyc.at timeouts / 522 CloudFlare errors) HOT 4
- Only showing one entry with wrong date with feed from muspy.com
- https://fraidyc.at/ is down HOT 4
- All Fraidycat feeds are out of date HOT 4
- Page is mostly blank - Firefox on macOS Monterey HOT 2
- Blog post not cross-posted to twitter, anonymous comments don't work. HOT 1
- Project still maintained? HOT 1
- Local install problem on Mac OS HOT 1
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 fraidycat.