aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorusk <usk@localhost>2017-11-05 10:06:26 +0900
committerusk <usk@localhost>2017-11-05 10:33:03 +0900
commit764d7a34bda121f97e947861c41722a12af37b15 (patch)
treea68fcd477b24bebb1db61440e756d0e0804f838d /src
parent516a701ebb9403b271288349b10bd906a61feee0 (diff)
add support for following some buttons on mobile.twitter.com
The buttons are: * reply * retweet * favorite * direct message * drop down menu
Diffstat (limited to 'src')
-rw-r--r--src/content/components/common/follow.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/components/common/follow.js b/src/content/components/common/follow.js
index 83aeb0a..15b2a98 100644
--- a/src/content/components/common/follow.js
+++ b/src/content/components/common/follow.js
@@ -4,7 +4,8 @@ import * as dom from 'shared/utils/dom';
const TARGET_SELECTOR = [
'a', 'button', 'input', 'textarea', 'area',
- '[contenteditable=true]', '[contenteditable=""]', '[tabindex]'
+ '[contenteditable=true]', '[contenteditable=""]', '[tabindex]',
+ '[role="button"]'
].join(',');