Comments (3)
This is header sent by one of these instances that don't want to be included in iframe:
Content-Security-Policy: base-uri 'none'; default-src 'none'; frame-ancestors 'none'; script-src 'self' https://tiny.tilde.website 'wasm-unsafe-eval'; font-src 'self' https://tiny.tilde.website; img-src 'self' data: blob: https://tiny.tilde.website https://sbom.tilde.website; style-src 'self' https://tiny.tilde.website 'nonce-OKmA5+kZFXEk29O1FZSAZw=='; media-src 'self' data: https://tiny.tilde.website https://sbom.tilde.website; frame-src 'self' https:; child-src 'self' blob: https://tiny.tilde.website; worker-src 'self' blob: https://tiny.tilde.website; connect-src 'self' blob: data: wss://tiny.tilde.website https://tiny.tilde.website https://sbom.tilde.website; manifest-src 'self' https://tiny.tilde.website; form-action 'self'
see MDN article
I think better approach would be just render these into HTML itself.
from mastodon_digest.
I think that's probably a good solution. The HTML content of the post itself is available in the ScoredPost.info
dictionary. @mauforonda has implemented this in a fork. Though, I'd like to keep a similar styling to the current iframe, but something like this is a probably next step.
from mastodon_digest.
Related Issues (19)
- Custom account amplification HOT 4
- Configure ranges of scores HOT 1
- Local setup not working on windows HOT 2
- Version check failed (Need version 2.4.3) HOT 4
- Idea: Add digest statuses to Mastodon Bookmarks HOT 2
- Avoid unnecessary calls to stats.percentileofscore
- Idea: Send via email with Zapier HOT 1
- Working with the Hometown fork HOT 2
- Idea: Implement Mastodon timeline and login API HOT 1
- Specifying username is potentially unnecessary HOT 1
- Don't aggregate posts with opt-out hashtags
- InverseFollowerWeight crashes when the number of followers is hidden
- Allow specification of output file and make a more unique identifier for the default output file HOT 1
- Not all boosts, stars, replies, followers, etc of a post are taken into account for scoring HOT 3
- The bot should specify a user agent HOT 1
- Posts limited to 150px height HOT 2
- "Make Run" is not working HOT 4
- Parse and build URLs with urllib
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 mastodon_digest.