whatfontis premium

removes blurred text and blocking elements so you can use (Commercial / Free Personal / Google Fonts) premium features in font search results

  1. // ==UserScript==
  2. // @name whatfontis premium
  3. // @namespace https://greasyfork.org/en/users/10118-drhouse
  4. // @version 1.1
  5. // @description removes blurred text and blocking elements so you can use (Commercial / Free Personal / Google Fonts) premium features in font search results
  6. // @match https://www.whatfontis.com/*
  7. // @require https://code.jquery.com/jquery-3.7.0.min.js
  8. // @require https://greasyfork.org/scripts/451088-utils-library/code/Utils%20-%20Library.js?version=1097324
  9. // @grant GM_info
  10. // @author drhouse
  11. // @license CC-BY-NC-SA-4.0
  12. // @icon https://www.google.com/s2/favicons?sz=64&domain=whatfontis.com
  13. // ==/UserScript==
  14. /* global jQuery, $ */
  15. this.$ = this.jQuery = jQuery.noConflict(true);
  16. (function($){
  17.  
  18. var names = $('.border-bottom-dotted.pb-0.bg-light.pb-1')
  19. $.each(names , function (index, value){
  20. $(this).remove()
  21. });
  22.  
  23. var names2 = $("#loadertestblock > div > div").find('div')
  24. $.each(names2 , function (index, value){
  25. $(this).removeClass('blur')
  26. });
  27.  
  28. var names3 = $('.aboutinlist.py-3')
  29. $.each(names3 , function (index, value){
  30. $(this).remove()
  31. });
  32.  
  33. $("#display-options > div > div > form:nth-child(2) > button").remove()
  34.  
  35.  
  36. setInterval(function(){
  37. utils.waitForElement('.fade.show').then(function() {
  38. $("#dialog > div > div > button")[0].click()
  39. })
  40. utils.waitForElement('.modal.fadedisplaymodal.show').then(function() {
  41. $('.modal.fadedisplaymodal.show').find('button').click()
  42. })
  43. }, 1000);
  44.  
  45.  
  46. $("body > div.content.standard.mb-3.mb-lg-5.pt-3.pt-lg-5.pb-5 > div > div > div.col-12.col-lg-9.display.px-lg-5.pb-5 > div.font-control.mb-4 > div.row.mb-5 > div:nth-child(2) > div:nth-child(2)").replaceWith($("body > div.content.standard.mb-3.mb-lg-5.pt-3.pt-lg-5.pb-5 > div > div > div.col-12.col-lg-9.display.px-lg-5.pb-5 > div.font-control.mb-4 > div:nth-child(5) > div.col-16.col-lg-16.p-3.pt-3"))
  47.  
  48. })(jQuery);