Greasy Fork is available in English.

Tool 1 For All Task Twitter - Everve

Close the tab

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/457407/1133637/Tool%201%20For%20All%20Task%20Twitter%20-%20Everve.js

// ==UserScript==
// @name        Tool 1 For All Task Twitter - Everve
// @namespace   SuperNova
// @match       https://twitter.com/*
// @match       https://mobile.twitter.com/*
// @grant       window.close
// @grant       GM_xmlhttpRequest
// @version     1.0
// @author      Saputra
// @description Close the tab

// ==/UserScript==

setInterval(() => {
  window.close()
}, 10000)