Versi murah nya, pakai Blogger.
(function (a, b) {
let webLicense = 'https://tempat-lisensi.blogspot.com',
yourLicense = 'id_post',
script = a.createElement('script');
script.src = webLicense + '/feeds/posts/default/' + yourLicense + '?alt=json-in-script&callback=window.licenseCheck';
b.licenseCheck = (post) => {
if (post.entry && post.entry.content) {
let content = post.entry.content.$t,
host = b.location.hostname;
if (content.includes(host)) {
alert('Web terdaftar');
} else {
alert('Web tidak terdaftar');
b.location.href = 'https://www.google.com';
}
} else {
alert('License salah');
b.location.href = 'https://www.google.com';
}
};
document.addEventListener('DOMContentLoaded', () => {
document.body.appendChild(script);
})
})(document, window);
1. Buat Blog baru Khusus Lisensi.
2. Buat Postingan, isi nya daftar web yang memakai template.
3. Ambil ID postingan yang baru dibuat. Ini akan dijadikan lisensi untuk pemakai template.
4. Masukkan url blog lisensi dan id post nya kedalam script diatas. Selesai.
👋
(function (a, b) {
let webLicense = 'https://tempat-lisensi.blogspot.com',
yourLicense = 'id_post',
script = a.createElement('script');
script.src = webLicense + '/feeds/posts/default/' + yourLicense + '?alt=json-in-script&callback=window.licenseCheck';
b.licenseCheck = (post) => {
if (post.entry && post.entry.content) {
let content = post.entry.content.$t,
host = b.location.hostname;
if (content.includes(host)) {
alert('Web terdaftar');
} else {
alert('Web tidak terdaftar');
b.location.href = 'https://www.google.com';
}
} else {
alert('License salah');
b.location.href = 'https://www.google.com';
}
};
document.addEventListener('DOMContentLoaded', () => {
document.body.appendChild(script);
})
})(document, window);
1. Buat Blog baru Khusus Lisensi.
2. Buat Postingan, isi nya daftar web yang memakai template.
3. Ambil ID postingan yang baru dibuat. Ini akan dijadikan lisensi untuk pemakai template.
4. Masukkan url blog lisensi dan id post nya kedalam script diatas. Selesai.
Hapus
Balas
Versi mahal nya.
Beli Hosting > buat rest API > buat dashboard login.
Beli Hosting > buat rest API > buat dashboard login.
Ini dimana ditempel?
👋
Ok paham.
Berarti skrip ini perlu di encrypt?
Berarti skrip ini perlu di encrypt?
Kenapa badge Administrator ku hilang.
Wkwkw.
@Dayat.
Apa ada data: khusus post author berbeda dari Admin?
Wkwkw.
@Dayat.
Apa ada data: khusus post author berbeda dari Admin?
Dipasang di tema yg ingin km kunci.
Sudah dibuat tema webLicense?
Tema apa aja boleh, yg diperlukan hanya post id aja.
Setiap ada yg beli tema, km harus bikin post baru di webLicense.
Sudah dibuat tema webLicense?
Tema apa aja boleh, yg diperlukan hanya post id aja.
Setiap ada yg beli tema, km harus bikin post baru di webLicense.
Cek Video.
https://drive.google.com/file/d/1YUri4y-mhAdGbRUNW6v9ld6kIK-D8gfE/view?usp=sharing
👋
https://drive.google.com/file/d/1YUri4y-mhAdGbRUNW6v9ld6kIK-D8gfE/view?usp=sharing
THX bang...
Post a Comment
gw kan lagi develop HometeStream yang bisa di cek di flanime
nah aku mau templatenya pakai lisence key yang dimana jika lisencenya tidak valid maka akan ada alert key tidak valid dan langsung mengarah ke blogku
itu gimana caranya?