2580 posts Put a Donk On It
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,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 4 years
  • Has referred 10+ members
+10 more
JamiGibbs says

Thanks a lot Phoenix! I’ve bookmarked it.

562 posts You Reap What You Saw
  • Has referred 200+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has collected 1+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+3 more
Bluz says

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

137 posts Ahoy, me Hearties!
  • Has referred 100+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Had an item featured on Envato Market
+5 more
ChrisMooney says

Great one, bookmarked for feature reference.

251 posts
  • Has been part of the Envato Community for over 4 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.

61 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 50+ items on Envato Market
+1 more
curtisaallen says

Thanks! Phoenix

2580 posts Put a Donk On It
  • Has referred 200+ members
  • Has sold $250,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,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 4 years
  • Has referred 10+ members
+10 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