Currently, the simulation for persona Claudia is handled differently than with the other personas. Instead of injecting a script, the change is directly (and inelegantly) set in background.js. This is because the persona's simulation changes Chrome' zoom level, which needs access to the chrome.tabs API.
This should be improved at some point, especially because the approach is not scalable when adding personas.
Currently, the simulation for persona Claudia is handled differently than with the other personas. Instead of injecting a script, the change is directly (and inelegantly) set in
background.js
. This is because the persona's simulation changes Chrome' zoom level, which needs access to the chrome.tabs API.This should be improved at some point, especially because the approach is not scalable when adding personas.