Sleazy Fork is available in English.

New script duolingo.com

2/1/2025, 6:00:23 PM

  1. // ==UserScript==
  2. // @name New script duolingo.com
  3. // @namespace Violentmonkey Scripts
  4. // @match https://www.duolingo.com/learn*
  5. // @grant none
  6. // @version 1.0
  7. // @author -
  8. // @description 2/1/2025, 6:00:23 PM
  9. // ==/UserScript==
  10. (function() {
  11. // Create a container div
  12. let container = document.createElement("div");
  13. container.style.position = "fixed";
  14. container.style.bottom = "20px";
  15. container.style.right = "20px";
  16. container.style.background = "white";
  17. container.style.padding = "10px";
  18. container.style.border = "2px solid black";
  19. container.style.zIndex = "9999";
  20. container.style.borderRadius = "10px";
  21.  
  22. // Function to create buttons
  23. function createButton(amount) {
  24. let button = document.createElement("button");
  25. button.innerText = amount + " XP";
  26. button.style.margin = "5px";
  27. button.style.padding = "10px";
  28. button.style.cursor = "pointer";
  29. button.style.fontSize = "16px";
  30. button.onclick = function() {
  31. alert("Added " + amount + " XP! (Simulation)");
  32. // In reality, Duolingo does not allow direct XP modification.
  33. };
  34. container.appendChild(button);
  35. }
  36.  
  37. // Create buttons for XP options
  38. createButton(1000);
  39. createButton(10000);
  40. createButton(100000);
  41.  
  42. // Add container to the page
  43. document.body.appendChild(container);
  44. })();