Commit Graph

29 Commits

Author SHA1 Message Date
tastytea 0456ef4246
pleroma_cw_toggle: Place button left of “Collapse”. 2019-06-13 20:54:39 +02:00
tastytea 1712e8c2f9
pleroma_cw_toggle: Fixed regex, everything was detected as timeline. 2019-06-12 22:20:04 +02:00
tastytea 50c53be59b
Treat profile-pages like timelines. 2019-06-12 21:31:36 +02:00
tastytea 1375d24e84
Restrict toggling to conversation. 2019-06-12 21:30:22 +02:00
tastytea de1aa38117
Added comments. 2019-06-12 21:14:28 +02:00
tastytea 1108cb3710
pleroma_cw_toggle: Added span around a, like the “Collapse”-link. 2019-06-12 21:11:25 +02:00
tastytea 02f78bc3cc
pleroma_cw_toggle: Made it work on timelines too. 2019-06-12 21:05:07 +02:00
tastytea ca62db9ee3
pleroma_cw_toggle: Try 10 times instead of 9. 2019-06-07 21:09:47 +02:00
tastytea dd90db5271
Check if we run on a Pleroma page, only try for 10 seconds. 2019-06-07 01:32:44 +02:00
tastytea 9b0164ac64
Only add button if one or more statuses have a CW. 2019-06-07 01:06:15 +02:00
tastytea 1e50d557c1
Added script to toggle CWs in Pleroma. 2019-06-07 00:22:03 +02:00
tastytea 21198efd51
Add support for small displays to CW-toggle script. 2019-06-06 04:02:58 +02:00
tastytea 41e4e2f22b
Changed style from const to let. 2019-06-06 02:19:54 +02:00
tastytea bf9f303204
Reduced scope of some variables and made others const. 2019-06-06 02:16:00 +02:00
tastytea 10eadad621
Log errors with console.error. 2019-06-06 02:00:40 +02:00
tastytea b818e50e39
Better description for CW-toggle skript. 2019-06-04 11:36:07 +02:00
tastytea 5467dc6072
Make CW toggle script work on profile pages. 2019-05-30 18:03:43 +02:00
tastytea b36a037016
Log error if no parent-element is found. 2019-05-29 13:19:56 +02:00
tastytea 73c38258f1
Fixed root-element check. 2019-05-29 03:42:00 +02:00
tastytea a45cf8b057
Extended description. 2019-05-29 02:23:22 +02:00
tastytea 491a03f80d
Replaced == with ===. 2019-05-29 01:37:07 +02:00
tastytea d5bef5afa7
Fixed license identifier (old version is deprecated). 2019-05-29 01:22:16 +02:00
tastytea ebe0caffc9
Added author and license to metadata. 2019-05-29 01:09:45 +02:00
tastytea b53107c621
Added @match-tag. 2019-05-28 23:54:41 +02:00
tastytea 0ed2bb8456
Added more metadata, made it work with Violentmonkey. 2019-05-28 23:14:59 +02:00
tastytea 43842dac85
Do not toggle visibility if status has no CW. 2019-05-28 22:23:43 +02:00
tastytea b0560212e5
Renamed script and added downloadURL. 2019-05-27 18:16:16 +02:00
tastytea 7a47818e62
Make button work on older Mastodon versions. 2019-05-27 17:55:46 +02:00
tastytea 71421c08e2
Added “Mastodon CW toggle”. 2019-05-27 16:42:59 +02:00