scripts/leetcode.js
/* inject css style required for the upload progress feature */
inject css style required for the upload progress feature
inject css style required for the upload progress feature
function injectStyle() {
  const style = document.createElement('style');
  style.textContent = '.leethub_progress {pointer-events: none;width: 2.0em;height: 2.0em;border: 0.4em solid transparent;border-color: #eee;border-top-color: #3E67EC;border-radius: 50%;animation: loadingspin 1s linear infinite;} @keyframes loadingspin { 100% { transform: rotate(360deg) }}';
  document.head.append(style);
}
function injectStyle ( ) { const style = document . createElement ( 'style' ) ; style . textContent = '.leethub_progress {pointer-events: none;width: 2.0em;height: 2.0em;border: 0.4em solid transparent;border-color: #eee;border-top-color: #3E67EC;border-radius: 50%;animation: loadingspin 1s linear infinite;} @keyframes loadingspin { 100% { transform: rotate(360deg) }}' ; document . head . append ( style ) ; }
inject css style required for the upload progress feature
inject css style required for the upload progress feature