Skip to content

Commit

Permalink
Removed unused chatgpt.deactivateAutoRefresh
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui authored Mar 30, 2023
1 parent 1b1b990 commit 1c15e26
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions chatgpt/chatgpt-auto-refresh/chatgpt-auto-refresh.user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ==UserScript==
// @name ChatGPT Auto Refresh ↻
// @version 2023.03.29.1
// @version 2023.03.30
// @description Keeps ChatGPT sessions fresh to avoid Cloudflare checks
// @author Adam Lui
// @namespace https://github.com/adamlui
Expand Down Expand Up @@ -75,12 +75,6 @@
} else { console.info('↻ ChatGPT >> Auto refresh already active!'); }
},

deactivateAutoRefresh: function() {
console.info('↻ ChatGPT >> ' + this.activateAutoRefresh.intervalId ?
'Auto refresh de-activated' : 'Refresher is not running!');
clearInterval(this.activateAutoRefresh.intervalId);
},

notify: function(msg, position, notifDuration) {
notifDuration = notifDuration ? +notifDuration : 1.75; // sec duration to maintain notification visibility
var fadeDuration = 0.6; // sec duration of fade-out
Expand Down

0 comments on commit 1c15e26

Please sign in to comment.