Skip to content

Instantly share code, notes, and snippets.

@luckycdev
Last active April 27, 2022 17:08
Show Gist options
  • Save luckycdev/774411113d826a48a2c05a4b2318fc29 to your computer and use it in GitHub Desktop.
Save luckycdev/774411113d826a48a2c05a4b2318fc29 to your computer and use it in GitHub Desktop.
search for a show/movie on myflixer with a bookmarklet - easily changeable - myflixer bookmarklet

Search myflixer with a bookmarklet, easily changeable link, change where it says var a="https://myflixer.pw/search/";

you might have to adjust the url to what the url is when searching if using a different link


Code:

javascript:
var a="https://myflixer.pw/search/";
var b=prompt("What show/movie would you like to watch today?", "Lucifer");
if (b==="")
{
alert("invalid response");
}
else if (b===" ")
{
alert("invalid response");
}
else if(b!=null)
{
open(a+b);
}

Bookmarklet:

javascript:var a="https://myflixer.pw/search/";var b=prompt("What show/movie would you like to watch today?", "Lucifer");if (b===""){alert("invalid response");}else if (b===" "){alert("invalid response");} else if(b!=null){open(a+b);}
javascript:var a="https://myflixer.pw/search/";var b=prompt("What show/movie would you like to watch today?", "Lucifer");if (b===""){alert("invalid response");}else if (b===" "){alert("invalid response");} else if(b!=null){open(a+b);}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment