xrel.to Search Engine Integration

Integrates various underground and nzb search engines into xrel.to

< 腳本xrel.to Search Engine Integration的回應

評論:正評 - 腳本一切正常

§
發表於:2016-10-20

Change Icons

Thanks for this nice script
very helpful :)

just one question
how do i change the icon if i add a new search engine?

§
發表於:2016-10-22

for every search engine you find a block like this:

// PreDB.me
newEngine = new Object();
newEngine["id"] = "predbme";
newEngine["title"] = "predb.me";
newEngine["baseUrl"] = "https://predb.me/?search=%s";
newEngine["icon"] = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAA3NCSVQICAjb4U/gAAAAYFBMVEX///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASZMAPXoAOXIAOXQAOnQAL2EAL14ALFgAKlYAKlQAKFEAKVEAKVMAJ08AJ1EAJ04AHj4AFy+ZmZm6urqKdGbVAAAAHnRSTlMBAwUHCQsNERMVHR9ldYuLi6uts8HDxcXFx8fJ0dnbnq70AAAAa0lEQVQYGQXBgQ3CMBAEMH/4VoDE/rO2TXLYAAAAAFRVFYAk/Xt32TU7g33dfX7gaSfMY0jWzlGV7JXvayARSERDgJdcTwNgZ7zXAEAiBhQQaLQsaLl2z3sAE+ZTR1cBSGbvVQUg2VVVAEj+p+M6IaaDnywAAAAASUVORK5CYII=";
newEngine["active"] = true;
searchEngines.push(newEngine);

to add an icon you just have to find an .ico .png or whatever icon for your site (16x16 at best) and put it into a base64 converter like: https://www.base64-image.de/
and then just put this text you get there into the script and it will display the icon.

Feel free to post your new Engine blocks when you have them working

發表回覆

登入以回覆