aboutsummaryrefslogtreecommitdiff
path: root/bridges/twitter.js
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/twitter.js')
-rw-r--r--bridges/twitter.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/bridges/twitter.js b/bridges/twitter.js
deleted file mode 100644
index e9855cb..0000000
--- a/bridges/twitter.js
+++ /dev/null
@@ -1,12 +0,0 @@
-function get_twitter() {
- let url = window.location.href;
- let pattern = /twitter.com\/(\w+).*/
- let match = url.match(pattern);
- if (match) {
- let twitter_handle = match[1]
- let feed_url = `${base_url}/?action=display&bridge=Twitter&context=By+username&u=${twitter_handle}&format=`
- return get_all_types(feed_url)
- }
- return []
-}
-