0
0
mirror of https://codeberg.org/crimeflare/cloudflare-tor synced 2024-12-23 08:00:35 +00:00

ansero_example.html

This commit is contained in:
Arman Rye 2020-06-22 12:17:19 +02:00
parent dccb05e84a
commit ca67e4e6b2

View File

@ -22,16 +22,24 @@ a[onclick] {
} }
</style> </style>
<script> <script>
// API document:
// 1. Open https://ss.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/
// 2. Click =
// 3. Click "Public API"
let apiurl = 'https://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/ansero.php'; let apiurl = 'https://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/ansero.php';
let favurl = 'https://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/favicon.php?f='; let favurl = 'https://api.wodferndripvpe6ib4uz4rtngrnzichnirgn7t5x64gxcyroopbhsuqd.onion/_/favicon.php?f=';
let mylang = 'en-US'; let mylang = 'en-US';
let hide_domain = []; // e.g. 'google.com' let hide_domain = []; // e.g. 'google.com'
let hide_fqdn = []; // e.g. 'en.wikipedia.org' let hide_fqdn = []; // e.g. 'en.wikipedia.org'
let removeMITMsites = false; let removeMITMsites = false;
function searchfor(key) { function searchfor(key) {
document.getElementById('what').value = key; document.getElementById('what').value = key;
search(); search();
} }
function search() { function search() {
let answer = '', let answer = '',
keyword = document.getElementById('what').value; keyword = document.getElementById('what').value;
@ -73,6 +81,7 @@ function search() {
}).catch(e => console.log(e)); }).catch(e => console.log(e));
return false; return false;
} }
</script> </script>
</head> </head>
<body> <body>