Cashback Reminder

A reminder to check for cashback before completing a purchase online.

  1. // ==UserScript==
  2. // @name Cashback Reminder
  3. // @namespace https://gf.qytechs.cn/en/users/71219-phreeker
  4. // @description A reminder to check for cashback before completing a purchase online.
  5. // @version 1
  6. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js
  7. // @match https://www.amazon.co.uk/gp/buy/*
  8. // @match https://orders.ebuyer.com/customer/shopping/*
  9. // @include http*://*/*cart*
  10. // @include http*://*/*checkout*
  11. // @include http*://*/*basket*
  12. // @include http*://*/*trolley*
  13. // @grant GM_addStyle
  14. // ==/UserScript==
  15.  
  16. $("body").append ( ' \
  17. <div id="alert"> \
  18. <a class ="alert href="#cashback_alert" title="Click to dismiss">Remember to check for cashback offers!</a> \
  19. </div> \
  20. ' );
  21.  
  22. GM_addStyle ( " \
  23. .alert { \
  24. background-color: #a82a4c; \
  25. color: #f6f6f6 !important; \
  26. display: block; \
  27. font: 16px/40px sans-serif; \
  28. height: 40px; \
  29. position: absolute; \
  30. text-align: center; \
  31. text-decoration: none; \
  32. top: -45px; \
  33. width: 100%; \
  34. animation: alert 1s ease forwards; \
  35. -webkit-box-shadow: 0px 5px 10px -1px rgba(0,0,0,0.6); \
  36. -moz-box-shadow: 0px 5px 10px -1px rgba(0,0,0,0.6); \
  37. box-shadow: 0px 5px 10px -1px rgba(0,0,0,0.6); \
  38. z-index: 99999; \
  39. } \
  40. @keyframes alert { \
  41. 0% { opacity: 0; } \
  42. 50% { opacity: 1; } \
  43. 100% { top: 0; } \
  44. } \
  45. .alert:hover { \
  46. color: #f6f6f6; \
  47. text-decoration:none; \
  48. } \
  49. #alert { \
  50. height: 25px !important; \
  51. } \
  52. " );
  53.  
  54. $('#alert').click(function(e) {
  55. $('#alert').toggle();
  56. });

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址