2566 posts Put a Donk On It
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • United Kingdom
  • Exclusive Author
  • Attended a Community Meetup
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Referred between 200 and 499 users
+5 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 been a member for 4-5 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • United States
  • Has attended an Envato Live event
  • Author had a Free File of the Month
  • Envato Studio (Microlancer) Beta Tester
  • Contributed a Blog Post
  • Beta Tester
+6 more
JamiGibbs says

Thanks a lot Phoenix! I’ve bookmarked it.

562 posts You Reap What You Saw
  • Elite Author
  • Sold between 50 000 and 100 000 dollars
  • Has been a member for 4-5 years
  • Author had a Free File of the Month
  • Exclusive Author
  • Referred between 200 and 499 users
  • Bought between 1 and 9 items
Bluz says

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

137 posts Ahoy, me Hearties!
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Has been a member for 5-6 years
  • Bought between 100 and 499 items
  • Referred between 100 and 199 users
  • United Kingdom
  • Exclusive Author
ChrisMooney says

Great one, bookmarked for feature reference.

251 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Envato Studio (Microlancer) Beta Tester
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Romania
  • Sold between 5 000 and 10 000 dollars
web_gab says

thanks! look forward to see the updates.

55 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
curtisaallen says

Thanks! Phoenix

2566 posts Put a Donk On It
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • United Kingdom
  • Exclusive Author
  • Attended a Community Meetup
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Referred between 200 and 499 users
+5 more
ThemeProvince says
1950 posts Do the Needful
  • Has been a member for 4-5 years
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • United States
  • Has attended an Envato Live event
  • Author had a Free File of the Month
  • Envato Studio (Microlancer) Beta Tester
  • Contributed a Blog Post
  • Beta Tester
+6 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