Kelsondre69

needed

May 19th, 2025
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Duolingo Profile Overhaul - Steak Mode (BIG STEAK)
  3. // @namespace https://yourdomain.example
  4. // @version 1.8
  5. // @description Replace profile data, icons, and boost the Minecraft steak size
  6. // @match https://www.duolingo.com/profile/KKuru2014
  7. // @grant none
  8. // ==/UserScript==
  9.  
  10. (function () {
  11. 'use strict';
  12.  
  13. const IMAGE_REPLACEMENTS = {
  14. 'https://d35aaqx5ub95lt.cloudfront.net/images/leagues/afe5c7067cd5fb7de936d3928ea7add6.svg':
  15. 'https://yt3.googleusercontent.com/KWeSfzemtXQ6OejCwnx68UMlAbBsAuanFjrd4QjcuFyXOGVPgRPdbMG8x0afuHxuXPb3XodziQ=s160-c-k-c0x00ffffff-no-rj',
  16.  
  17. 'https://d35aaqx5ub95lt.cloudfront.net/images/7a24dbe6c243d2bbf8b6c8aad73dc941.svg':
  18. 'https://yt3.googleusercontent.com/6p90YZQqg8nZAYFWA-L-gukpPopgQH8RDfUxTPSVxfyHQOApXXmGMVkzApeIZ8z9PjlHz13v=s160-c-k-c0x00ffffff-no-rj'
  19. };
  20.  
  21. function replaceStuff() {
  22. // Replace text
  23. const walker = document.createTreeWalker(document.body, NodeFilter.SHOW_TEXT);
  24. let node;
  25. while ((node = walker.nextNode())) {
  26. if (node.nodeValue.includes('KKuru2014')) {
  27. node.nodeValue = node.nodeValue.replace(/KKuru2014/g, 'Anonymous');
  28. }
  29. if (node.nodeValue.includes('M. Kemal K.')) {
  30. node.nodeValue = node.nodeValue.replace(/M\. Kemal K\./g, 'Name Hidden');
  31. }
  32. }
  33.  
  34. // Replace XP with HIDDEN
  35. document.querySelectorAll('h4.-TMd4').forEach(el => {
  36. if (/^\d+$/.test(el.textContent.trim())) {
  37. el.textContent = 'HIDDEN';
  38. }
  39. });
  40.  
  41. // Replace follower count
  42. document.querySelectorAll('span._3KQMU._9lHjd').forEach(el => {
  43. if (/^\d+[\s]?Followers$/.test(el.textContent.trim())) {
  44. el.textContent = '11K Followers';
  45. }
  46. });
  47.  
  48. // Replace images and scale steak
  49. document.querySelectorAll('img').forEach(img => {
  50. Object.entries(IMAGE_REPLACEMENTS).forEach(([original, replacement]) => {
  51. if (img.src.includes(original)) {
  52. img.src = replacement;
  53.  
  54. // BIGGER Minecraft steak
  55. if (replacement.includes('6p90YZQqg8nZAYFWA')) {
  56. img.style.maxWidth = '120px';
  57. img.style.maxHeight = '120px';
  58. img.style.objectFit = 'contain';
  59. img.style.display = 'block';
  60. img.style.margin = '0 auto';
  61. }
  62. }
  63. });
  64. });
  65. }
  66.  
  67. setInterval(replaceStuff, 1); // Update every 10ms
  68. })();
  69.  
Advertisement
Add Comment
Please, Sign In to add comment