2623 posts Put a Donk On It
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has sold $250,000+ on Envato Market
+10 more
ThemeProvince
says

Im creating a theme switcher and I recall seeing numerous threads about how to remove the item preview banner automatically. Well here is the javascript required just place it in the head.

I would not recommend you remove this unless you are creating a style switcher etc.

 

<script type="text/javascript">

if(location.href != top.location.href){

top.location.href = 'http://themepreviewlink.com';

}

</script>

So simple :D

I might release a beta version of the theme switcher for use. Stay Tuned.

1950 posts Do the Needful
  • Has sold $125,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Achieved the monthly Community Superstar Award
+11 more
JamiGibbs
says

Thanks a lot Phoenix! I’ve bookmarked it.

562 posts You Reap What You Saw
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been part of the Envato Community for over 5 years
  • Contributed a free file of the month
+3 more
Bluz
says

Awesome! Thanks :) I’d really appreciate that theme switcher we talked about :P

137 posts Ahoy, me Hearties!
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Had an item featured on Envato Market
  • Has sold $500,000+ on Envato Market
+5 more
ChrisMooney
says

Great one, bookmarked for feature reference.

251 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+3 more
web_gab
says

thanks! look forward to see the updates.

64 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 1+ members
  • Has sold $1,000+ on Envato Market
  • Has collected 50+ items on Envato Market
+1 more
curtisaallen
says

Thanks! Phoenix

2623 posts Put a Donk On It
  • Elite Author: Sold more than $75,000 on Envato Market
  • Sells items exclusively on Envato Market
  • Made it to the Authors' Hall of Fame
  • Has sold $250,000+ on Envato Market
+10 more
ThemeProvince
says
1950 posts Do the Needful
  • Has sold $125,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 5 years
  • Achieved the monthly Community Superstar Award
+11 more
JamiGibbs
says

Locking as duplicate because Phoenix has a much more valuable thread on the same topic over here (just like he mentioned above).

by
by
by
by
by
by