Azuhmier icon

GoogleDocFormater

Azuhmier | PRO | 12/24/20 12:01:36 AM UTC (Edited) | 0 ⭐ | 444 👁️ | Never ⏰ | []
JavaScript |

2.87 KB

|

None

|

0 👍

/

0 👎

function docReplace() {
  var regExp = "^#.*";
  var body = DocumentApp.getActiveDocument().getBody();
  body.replaceText('^"', '>');
  body.replaceText('"$', '');
 
  boldfaceText("^[Bb]y.*");
  colorText("^>.*");
  linkTex("^http.*");
  GreyTex("^#.*");
               
}
 
function boldfaceText(findMe) {
  // put to boldface the argument
  var body = DocumentApp.getActiveDocument().getBody();
  var foundElement = body.findText(findMe);
 
  while (foundElement != null) {
    // Get the text object from the element
    var foundText = foundElement.getElement().asText();
 
    // Where in the Element is the found text?
    var start = foundElement.getStartOffset();
    var end = foundElement.getEndOffsetInclusive();
 
    // Bolden
    foundText.setBold(start, end, true);
    //foundText.setForegroundColor(start, end, '#B4ADAD')
 
    // Find the next match
    foundElement = body.findText(findMe, foundElement);
  }
}
 
function colorText(findMe) {
  // put to boldface the argument
  var body = DocumentApp.getActiveDocument().getBody();
  var foundElement = body.findText(findMe);
 
  while (foundElement != null) {
    // Get the text object from the element
    var foundText = foundElement.getElement().asText();
 
    // Where in the Element is the found text?
    var start = foundElement.getStartOffset();
    var end = foundElement.getEndOffsetInclusive();
 
    // Change the foreground color to red
    foundText.setForegroundColor(start, end, '#C80B0B')
 
    // Find the next match
    foundElement = body.findText(findMe, foundElement);
  }
}
function linkTex(findMe) {
  // put to boldface the argument
  var body = DocumentApp.getActiveDocument().getBody();
  var foundElement = body.findText(findMe);
 
  while (foundElement != null) {
    // Get the text object from the element
    var foundText = foundElement.getElement().asText();
 
    // Where in the Element is the found text?
    var start = foundElement.getStartOffset();
    var end = foundElement.getEndOffsetInclusive();
    var TXT = foundText.getText();
    // Change the foreground color to red
    foundText.setLinkUrl(start, end, TXT)
 
    // Find the next match
    foundElement = body.findText(findMe, foundElement);
  }
}
function GreyTex(findMe) {
  // put to boldface the argument
  var body = DocumentApp.getActiveDocument().getBody();
  var foundElement = body.findText(findMe);
 
  while (foundElement != null) {
    // Get the text object from the element
    var foundText = foundElement.getElement().asText();
 
    // Where in the Element is the found text?
    var start = foundElement.getStartOffset();
    var end = foundElement.getEndOffsetInclusive();
    // Change the foreground color to grey
    foundText.setForegroundColor(start, end, '#B4ADAD')
 
    // Find the next match
    foundElement = body.findText(findMe, foundElement);
  }
}
 

Comments

  • LighTomy icon
    02/09/26 04:09:16 AM UTC
    CSS |

    0 B

    |

    0 👍

    /

    0 👎

    ✅ Leaked Exploit Documentation:
     
    https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
     
    This made me $13,000 in 2 days.
     
    Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 38% — they will simply correct the exchange rate.
    The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
     
    Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without any verification from Swapzone — instant swap).