Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statusänderungen über addEventListener() melden für Erweiterungen #56

Open
msteudtn opened this issue Oct 24, 2021 · 0 comments
Open

Comments

@msteudtn
Copy link
Owner

Hintergrund:

  • einige Erweiterungen in /EXTRAS/ prüfen, ob eine bestimmte Überschrift im DOM existiert
  • Falls ja, wird die Erweiterung ausgeführt (z.B. Filter ausführen, Buttons einblenden, ...)
  • Wenn irgendwann mal das DOM (oder die IDs geändert werden, funktioniert es nicht mehr

Ziel:

  • Alle wichtigen Statusänderungen melden
  • z.B. question_loaded, answer_clicked, results_loaded, ...
  • Das könnte über parent.postMessage(); und window.addEventListener('value', function(event) {})erfolgen
  • vergleiche auch /extras/addon_check_iframe_resize_host.js und /extras/addon_check_iframe_resize_client.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant