I have a site which is no longer going to be used as the product is no longer being developed. This site will use a 301 redirect to direct any visits to the new product site.
What I would like to do is show a div
to anyone who first visits the old site to explain the product name change but only to those who visit the old site first.
Is this possible using only javascript? I read about possible solutions using PHP but again I need a JS only solution, if it is possible at all.
Note: I am using jQuery 2.1 on the site so a jQuery solution is fine.