remove yandex webcache, add wikiwix
This commit is contained in:
1 parent
568f8f26bf
commit
03df7d30b3
1 file changed
+7
-8
+7
-8
@@ -235,8 +235,7 @@ class frontend{
|
||||
|
||||
public function drawtextresult($site, $greentext = null, $duration = null, $keywords, $tabindex = true, $customhtml = null){
|
||||
|
||||
$payload =
|
||||
'<div class="text-result">';
|
||||
$payload = '<div class="text-result">';
|
||||
|
||||
// add favicon, link and archive links
|
||||
$payload .= $this->drawlink($site["url"]);
|
||||
@@ -980,12 +979,6 @@ class frontend{
|
||||
"favicon_alt" => "ar",
|
||||
"title" => "Archive.ph"
|
||||
],
|
||||
[
|
||||
"url" => "https://yandex.com/search/?text=" . urlencode("url:" . $link),
|
||||
"favicon" => "yandex.com",
|
||||
"favicon_alt" => "ya",
|
||||
"title" => "Yandex cache"
|
||||
],
|
||||
[
|
||||
"url" => "https://ghostarchive.org/search?term=" . $urlencode,
|
||||
"favicon" => "ghostarchive.org",
|
||||
@@ -1004,6 +997,12 @@ class frontend{
|
||||
"favicon_alt" => "me",
|
||||
"title" => "Megalodon"
|
||||
],
|
||||
[
|
||||
"url" => "https://archive.wikiwix.com/cache/?url=" . $urlencode,
|
||||
"favicon" => "archive.wikiwix.com",
|
||||
"favicon_alt" => "ar",
|
||||
"title" => "Wikiwix archive"
|
||||
],
|
||||
[
|
||||
"url" => "https://www.webcitation.org/query?url=" . $urlencode,
|
||||
"favicon" => "webcitation.org",
|
||||
|
||||
Reference in new issue
Block a user