Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Bigger Tinder Pictures
  3. // @namespace http://userstyles.org
  4. // @description This Style makes the Profile Pcitures / Swipe preview bigger
  5. // @author surtic86
  6. // @homepage https://userstyles.org/styles/169852
  7. // @include https://tinder.com/app*
  8. // @run-at document-start
  9. // @version 0.20190318161644
  10. // ==/UserScript==
  11. (function() {var css = [
  12. ".recsCardboard {",
  13. " max-width: calc(100vw - 65vw);",
  14. " height: calc(100vh - 15vh);",
  15. " max-height: calc(100vh - 15vh);",
  16. " }",
  17. "",
  18. " .profileCard {",
  19. " width: calc(100vw - 65vw);;",
  20. " height: calc(100vh - 15vh);",
  21. " max-height: calc(100vh - 15vh);",
  22. " min-height: calc(100vh - 15vh);",
  23. " }"
  24. ].join("\n");
  25. if (typeof GM_addStyle != "undefined") {
  26. GM_addStyle(css);
  27. } else if (typeof PRO_addStyle != "undefined") {
  28. PRO_addStyle(css);
  29. } else if (typeof addStyle != "undefined") {
  30. addStyle(css);
  31. } else {
  32. var node = document.createElement("style");
  33. node.type = "text/css";
  34. node.appendChild(document.createTextNode(css));
  35. var heads = document.getElementsByTagName("head");
  36. if (heads.length > 0) {
  37. heads[0].appendChild(node);
  38. } else {
  39. // no head yet, stick it whereever
  40. document.documentElement.appendChild(node);
  41. }
  42. }
  43. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement