Comments (1)
Actually it appears to be the result of the DuckDuckGo Privacy Essentials Firefox plugin. When this plugin is active the rendering of tweets from react-tweet-embed no longer work.
https://addons.mozilla.org/en-US/firefox/addon/duckduckgo-for-firefox/
It's actually the case that the plugin interferes with rendering embedded tweets using Twitter's JavaScript directly (removing react-tweet-embed). For example this html fails to render with the plugin turned on:
<html>
<head>
<!-- from https://developer.twitter.com/en/docs/twitter-for-websites/javascript-api/
guides/set-up-twitter-for-websites -->
<script>
window.twttr = (function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
t = window.twttr || {};
if (d.getElementById(id)) return t;
js = d.createElement(s);
js.id = id;
js.src = "https://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
t._e = [];
t.ready = function(f) {
t._e.push(f);
};
return t;
}(document, "script", "twitter-wjs"));
</script>
</head>
<body>
<div id="tweet"></div>
<script>
twttr.ready(function() {
twttr.widgets.createTweet('20', document.getElementById('tweet'));
})
</script>
</body>
</html>
from react-tweet-embed.
Related Issues (20)
- window.twttr.ready is not a function HOT 4
- "ReferenceError: Can't find variable: callbacks" on Safari iOS when bundled w/ webpack HOT 2
- Error with class properties in IE 11 HOT 3
- Invariant Violation: Expected a component class, got [object Object] HOT 3
- not loading inside Cordova HOT 2
- 'window.twittr' is not a sufficient check HOT 3
- Provide a precompiled version or use vanilla JS HOT 1
- add e2e test in pupeteer HOT 2
- Source code for the latest version? HOT 2
- Feature request: text placeholder prop HOT 4
- show/hide media HOT 2
- React-Native HOT 1
- ID reserved word HOT 1
- disable console log HOT 1
- How to use this library in a React Native project
- placeholder is not exposed as prop HOT 1
- Could not resolve dependency: npm peer react@"^15.0.0 || ^16.0.0" from [email protected] HOT 1
- process is not defined HOT 2
- Can we make isLocal configurable? 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 react-tweet-embed.