add support for following some buttons on mobile.twitter.com

The buttons are:

  * reply
  * retweet
  * favorite
  * direct message
  * drop down menu
jh-changes
usk 7 years ago
parent 516a701ebb
commit 764d7a34bd
  1. 3
      src/content/components/common/follow.js

@ -4,7 +4,8 @@ import * as dom from 'shared/utils/dom';
const TARGET_SELECTOR = [ const TARGET_SELECTOR = [
'a', 'button', 'input', 'textarea', 'area', 'a', 'button', 'input', 'textarea', 'area',
'[contenteditable=true]', '[contenteditable=""]', '[tabindex]' '[contenteditable=true]', '[contenteditable=""]', '[tabindex]',
'[role="button"]'
].join(','); ].join(',');