You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then started with adding breakpoints to since I noticed it is replacing classes for the paywall to appear. the class tp-modal-open on the tag was blocking scrolling on the page so I created a filter which has more specific selector which overwrites those blocking values to auto.
tp-modal-resizing is a class that gets added to the tag but it doesn't affect the page visual so I didn't create a rule for it.
At this point the paywall was removed but there was still a quick flash of black on the page when it popped up and before it was removed after a bit of investigating and adding breakpoints to the page to catch DOM attribute modifications I noticed div.tp-backdrop.tp-active was modifying it's class attribute and removing the tp-active class, this breaks the rules I added to block the paywall. It's a simple fix, create two rules, one with and one without the tp-active class.
The text was updated successfully, but these errors were encountered:
URL(s) where the issue occurs
https://foreignpolicy.com/2020/03/25/blame-china-and-xi-jinping-for-coronavirus-pandemic/
Describe the issue
Modal popup with a paywall
I'm creating a pull request now for this issue.
Versions
Settings
Notes
After hitting a paywall I created the following rules to start with:
Then started with adding breakpoints to since I noticed it is replacing classes for the paywall to appear. the class
tp-modal-open
on the tag was blocking scrolling on the page so I created a filter which has more specific selector which overwrites those blocking values toauto
.tp-modal-resizing
is a class that gets added to the tag but it doesn't affect the page visual so I didn't create a rule for it.At this point the paywall was removed but there was still a quick flash of black on the page when it popped up and before it was removed after a bit of investigating and adding breakpoints to the page to catch DOM attribute modifications I noticed
div.tp-backdrop.tp-active
was modifying it's class attribute and removing thetp-active
class, this breaks the rules I added to block the paywall. It's a simple fix, create two rules, one with and one without thetp-active
class.The text was updated successfully, but these errors were encountered: