Skip to content

Commit

Permalink
Remove exception babel
Browse files Browse the repository at this point in the history
  • Loading branch information
CaioWzy committed Aug 22, 2020
1 parent 54a73ae commit c2d2366
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/burlesco.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ if (/gauchazh\.clicrbs\.com\.br/.test(document.location.host)) {
injectme = injectme.replace(/[a-z].requestCPF\|\|!1,/g, 'false,');
injectme = injectme.replace(
/![a-z].showLoginPaywall&&![a-z].showPaywall\|\|!1/g, 'true');
injectme = injectme.replace('throw new Error("only one instance of babel-polyfill is allowed");', '');
var script = document.createElement('script');
script.type = 'text/javascript';
var textNode = document.createTextNode(injectme);
Expand Down

0 comments on commit c2d2366

Please sign in to comment.