diff --git a/App.tsx b/App.tsx index 457a63d..a646996 100644 --- a/App.tsx +++ b/App.tsx @@ -12,6 +12,28 @@ import ConflictModal from './components/ConflictModal'; import DownloadModal from './components/DownloadModal'; import { formatBytes } from './utils/formatters'; +const AdSenseBanner: React.FC = () => { + useEffect(() => { + try { + // @ts-ignore + (window.adsbygoogle = window.adsbygoogle || []).push({}); + } catch (e) { + console.error("AdSense error", e); + } + }, []); + + return ( +
+ +
+ ); +}; + const App: React.FC = () => { // --- State --- const savedPref = localStorage.getItem('save_connection_info') !== 'false'; @@ -1037,13 +1059,8 @@ const App: React.FC = () => {
-
-
SPONSORED
-
-
GOOGLE ADSENSE
-
Premium Ad Space Available
-
-
+
+
diff --git a/index.html b/index.html index 52f6c15..9ee0500 100644 --- a/index.html +++ b/index.html @@ -3,6 +3,8 @@ + WebFTP by SIMP