curl http://balanced-hangman.herokuapp.com
Hopefully you'll see something like
{
"index": "/",
"me": "/me",
public static void ConfigureForTesting(this ApiController controller, HttpRequestMessage request, string routeName = null, HttpRoute route = null) | |
{ | |
var config = new HttpConfiguration(); | |
controller.Configuration = config; | |
if (routeName != null && route !=null) | |
config.Routes.Add(routeName, route); | |
else | |
route = config.Routes.MapHttpRoute("DefaultApi", "{controller}/{id}", new { id = RouteParameter.Optional }); | |
var controllerTypeName = controller.GetType().Name; |
using Autofac; | |
using Autofac.Core; | |
using Cloudinator.Portal.WebApi.Infrastructure; | |
using Cloudinator.Portal.WebApi.Infrastructure.Handlers; | |
using FluentValidation; | |
using MediatR; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; |
UPDATED 22.11.2022
It's been two years since the last update, so here's the updated working script as per the comments below.
Thanks to BryanHaley for this.
setInterval(function () {
video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];
video.querySelector('#primary button[aria-label="Action menu"]').click();