Im pretty sure that's a silicone based caulk type glue. (it's NOT Gorilla glue

)
(it should come off with 'Goo Gone' or regular old lighter fluid... they SHOULDN'T eat the foam, but test first.

)
Lately I've been using Beacon Foam Tac glue with great results.
it doesn't matter what type foam either, pretty good stuff.