mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-08 02:34:06 +02:00
8 lines
390 B
JavaScript
8 lines
390 B
JavaScript
import { $TD } from "../api/bridge.js";
|
|
|
|
export default function() {
|
|
if (location.pathname === "/" && !("TD" in window)) {
|
|
$TD.alert("warning", "Some TweetDuck features failed to load. This might happen if your Twitter account is enrolled into the TweetDeck Preview, which TweetDuck does not support. Try opting out of the TweetDeck Preview to restore TweetDuck's functionality.");
|
|
}
|
|
}
|