Skip to content

custom_sites #218

Answered by Purfview
kaser2010 asked this question in Q&A
Apr 20, 2024 · 3 comments · 8 replies
Discussion options

You must be logged in to vote

Syntax is wrong, and names should be unique, try:

var custom_sites = [
  {   'name': 'HD4fun-my',
      'icon': 'https://hdencode.org/wp-content/uploads/2016/03/413.ico',
      'searchUrl': 'https://hdencode.org/?s=%search_string%',
      'loggedOutRegex': /Cloudflare|Ray ID/,
      'matchRegex': /no results found/,
      'inThirdSearchBar': true},
  {   'name': 'BTDigg-my',
      'icon': 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkBAMAAAATLoWrAAAAGFBMVEXl5eUAAADGxsYfHx96enqoqKhRUVE5OTmYayJ6AAAAZElEQVQoz2MYAGAoAmMpCgoKigVgCAmKYgoJogkFMCQihFgEDcBCihQKhRSKMgGtEkAIAXnimEKC6EIpgYIK6MYPCiFHhFAi3PVAbwsKgUMV7kcGVpiQKFSoiAGoQwgaQ4MCAAB0ISJb0ohTWAAAAABJRU5ErkJggg==',
      'searchUrl': '…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@kaser2010
Comment options

@Purfview
Comment options

Answer selected by kaser2010
@kaser2010
Comment options

@kaser2010
Comment options

Comment options

You must be logged in to vote
4 replies
@Purfview
Comment options

@kaser2010
Comment options

@Purfview
Comment options

@kaser2010
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants