-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ey Pacha!
committed
Nov 2, 2016
1 parent
692a700
commit be3b0b8
Showing
5 changed files
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
var node, | ||
ni = document.createNodeIterator(document.documentElement, NodeFilter.SHOW_TEXT); | ||
function gatear(){ | ||
var node, | ||
ni = document.createNodeIterator(document.documentElement, NodeFilter.SHOW_TEXT); | ||
|
||
while(node = ni.nextNode()) { | ||
var value = node.nodeValue | ||
if (value.match(/macri/i)) { | ||
node.nodeValue = value.replace(/(Mauri(cio)? )?Macri(?! Gato)/gi,'Macri Gato'); | ||
while(node = ni.nextNode()) { | ||
var value = node.nodeValue | ||
if (value.match(/macri/i)) { | ||
node.nodeValue = value.replace(/(Mauri(cio)? )?Macri(?! Gato)/gi,'Macri Gato'); | ||
} | ||
} | ||
} | ||
|
||
gatear(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.