Aaronius / penpal

A promise-based library for securely communicating with iframes via postMessage.
MIT License
381 stars 56 forks source link

Add option to configure iframe removal monitoring interval #64

Closed lpellegr closed 3 years ago

lpellegr commented 3 years ago

Besides, this patch allows disabling iframe removal monitoring by passing a value of 0.

Aaronius commented 3 years ago

As discussed in https://github.com/Aaronius/penpal/issues/62, I'm going to hold off on this feature until I see a more compelling reason to have monitoring configurable. Thank you @lpellegr.