webrecorder / behaviors

Webrecorder Automated In-Page Behavior Framework
GNU Affero General Public License v3.0
12 stars 6 forks source link

Update API to support multiple behaviors for a given url #11

Open ikreymer opened 5 years ago

ikreymer commented 5 years ago

The idea is to support multiple variations of a behavior in an easy way, for example 'Instagram with Comments' and 'Instagram without Comments', and also allow the generic autoscroll behavior to be always available.

Perhaps update the API as follows:

The rank will determine the order in which behaviors are shown to the user in the UI, so should avoid having same rank for two behaviors generally..

N0taN3rd commented 5 years ago

For sake of simplicity, as well as, enable the quick update of behaviors it would be best to not have multiple behaviors per say but rather a way to indicate to a behavior which actions are deselected