Skip to content

Commit

Permalink
corrigir correio24horas no userscript - a altura do articleBody estav…
Browse files Browse the repository at this point in the history
…a setando pra 120px via inline style (#16)
  • Loading branch information
requeijaum authored and CaioWzy committed Oct 26, 2019
1 parent cc8470e commit 4964ea9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/burlesco.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,12 @@ document.addEventListener('DOMContentLoaded', function() {
// verificar se a altura não buga com a mudança de largura da página (layout responsivo, né)
code=`
jQuery('[class^=paywall]').remove();
jQuery('[class$=blocked]').removeClass();
jQuery('[class^=blocked]').removeClass();
jQuery('[id^=paywall]').removeClass('hide').removeClass('is-active');
jQuery('.noticias-single__content__text').attr('style', 'height:auto;');
jQuery('[id^=paywall]').remove();
setInterval(function() { jQuery('[itemprop^=articleBody]').css('height', '100%'); console.log('Burlesco: forçando altura...'); }, 1000);
`;

else if (/nytimes\.com/.test(document.location.host))
Expand Down

0 comments on commit 4964ea9

Please sign in to comment.