Skip to content

Commit

Permalink
fix: typo e bloqueia main no GaúchaZH
Browse files Browse the repository at this point in the history
  • Loading branch information
rodorgas committed Jun 25, 2022
1 parent dcaf364 commit 200d204
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/burlesco.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name Burlesco
// @namespace https://burles.co/
// @version 12.3
// @version 12.4
// @description Leia notícias sem ser assinante, burle o paywall
// @author rodorgas & AugustoResende
// @supportURL https://burles.co
Expand Down Expand Up @@ -97,6 +97,7 @@
// @webRequestItem {"selector":"*://prisa-el-pais-prod.cdn.arcpublishing.com/arc/subs/p.js","action":"cancel"}
// @webRequestItem {"selector":"*://brasil.elpais.com/pf/resources/dist/js/article.js*","action":"cancel"}
// @webRequestItem {"selector":"*://gauchazh.clicrbs.com.br/static/signwall.*.min.js","action":"cancel"}
// @webRequestItem {"selector":"*://gauchazh.clicrbs.com.br/static/main*","action":"cancel"}
// @run-at document-start
// @noframes
// ==/UserScript==
Expand All @@ -107,7 +108,7 @@ if (/gauchazh\.clicrbs\.com\.br/.test(document.location.host)) {
function patchJs(jsurl) {
GM_xmlhttpRequest({
method: 'GET',
url: jsurl.replace('com.br', '.com.br.'),
url: jsurl.replace('com.br', 'com.br.'),
onload: function(response) {
var injectme = response.responseText;
injectme = injectme.replace(
Expand Down

0 comments on commit 200d204

Please sign in to comment.