1. Home
  2. Docs
  3. ARSAE
  4. ARSAE 2.x
  5. Instalasi Arsae Client ( Web Non Approved, Banned, Nggak didaftarin, dll)

Instalasi Arsae Client ( Web Non Approved, Banned, Nggak didaftarin, dll)

Client adalah website yang ingin muncul iklan walau tidak didaftarkan, nggak diapprove, banned, dll.
Arsae bisa memunculkan iklan di hampir semua jenis web asal kita punya akses ke kode htmlnya.

Semua web bisa pakai kode ini sebagai kode kliennya, jangan lupa ganti http://domain-arsae-server.com dengan alamat ente install arsae server:

<script>
var ars = 'http://domain-arsae-server.com';

if(['.google.', 'bing.', 'yandex.', 'facebook.', 'pinterest.'].some(s => document.referrer.toLowerCase().includes(s)) || ['fb', 'facebook', 'pinterest', 'twitter'].some(s => navigator.userAgent.toLowerCase().includes(s))){ window.location.href = ars + '/?arsae='+ encodeURIComponent(window.location.href) + '&arsae_ref='+ encodeURIComponent(document.referrer) }
</script>

Berikut beberapa contoh penerapan kode klien tersebut ke beberapa platform:

Articles

Was this article helpful to you? Yes No

Tinggalkan Balasan

Alamat email anda tidak akan dipublikasikan. Required fields are marked *