🏠 Home 

Architextures (Desbloquear Pro)

Um script que desbloqueia todas as funções pro do Architextures.


Installer dette script?
  1. // ==UserScript==
  2. // @name Architextures (Desbloquear Pro)
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Um script que desbloqueia todas as funções pro do Architextures.
  6. // @author Pedro6159
  7. // @match https://architextures.org/create*
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=architextures.org
  9. // @license MIT
  10. // @run-at document-end
  11. // @grant none
  12. // ==/UserScript==
  13. (function () {
  14. 'use strict';
  15. function getListOfElementsByXpath(path) {
  16. var nodes = document.evaluate(path, document, null, XPathR###lt.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  17. var r###lt = [];
  18. for (var i = 0; i < nodes.snapshotLength; i++) {
  19. r###lt.push(nodes.snapshotItem(i));
  20. }
  21. return r###lt;
  22. }
  23. function initialize_code() {
  24. // Desbloqueia itens inativo e tira a opacidade
  25. var _a = getListOfElementsByXpath("//*[contains(@class,'inactive')]");
  26. for (let i = 0; i < _a.length; i++) {
  27. const d = _a[i]
  28. d.classList.remove("inactive")
  29. if (d.style.opacity != null)
  30. _a[i].style.opacity = "1";
  31. }
  32. // remove o rotulo de "pro"
  33. var _b = getListOfElementsByXpath("//*[contains(@class,'pro-feature')]");
  34. for (let i = 0; i < _b.length; i++) {
  35. _b[i].classList.remove("pro-feature")
  36. }
  37. // Desbloqueia as opções
  38. var _c = getListOfElementsByXpath("//*[@disabled]");
  39. for (let i = 0; i < _c.length; i++) {
  40. _c[i].removeAttribute("disabled")
  41. }
  42. // Desbloqueia outras configurações
  43. var _d = getListOfElementsByXpath("//*[contains(@class,'disabled')]");
  44. for (let i = 0; i < _d.length; i++) {
  45. _d[i].classList.remove("disabled")
  46. _d[i].classList.add("view-option-button");
  47. }
  48. }
  49. window.onload = function () {
  50. if (document.readyState == 'complete') {
  51. console.log("Trying to find the interface to inject the script...");
  52. setInterval(function () {
  53. var gui = document.getElementsByClassName("canvas-container output-container");
  54. if (gui) {
  55. initialize_code();
  56. }
  57. }, 5000);
  58. window.onload = null;
  59. }
  60. };
  61. })();