User:Polygnotus/Scripts/WebArchives.js: Difference between revisions

Content deleted Content added
No edit summary
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://megalodon.jp/pc/main?url=https%3A%2F%2Fexampasdasdasdle.com. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
Line 70:
apiCheck: true,
notFoundStrings: ['Wayback Machine has not archived that URL.']
},
{
name: 'Megalodon.jp',
checkUrl: (url) => `https://megalodon.jp/pc/main?url=${encodeURIComponent('https://' + url)}`,
searchUrl: (url) => `https://megalodon.jp/pc/main?url=${encodeURIComponent('https://' + url)}`,
apiCheck: true,
notFoundStrings: ['見つかりませんでした']
}
];