267 posts What we do in life, echoes in eternity!
  • Has referred 50+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+2 more
Prothemeus says

I’m not sure if this is encountered by others but I think it’s important as it may have an impact on sales. The problem is that most of the times I visit a product demo (this applies to most authors) on Themeforest through the Live Preview button on my iPad, it crashes my iPad browser no matter which browser I use.

I also don’t have enough time to close the iFrame as it crashes the browser before I can remove it.

Am I the only one?

75 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has referred 1+ members
  • Has been part of the Envato Community for over 2 years
+5 more
weibergmedia says

Hi Prothemeus,

I have encountered the same issue, also when trying to view other templates and themes from different authors. Same applies to my iPhone 5.

26 posts
  • Has sold $5,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Has been part of the Envato Community for over 1 year
softcircles says

same thing happens to me few hours ago, I thought its browser issue. I restarted it and it was fine. will check it again.

134 posts Web Geek
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Located in India
  • Helped several times protecting Envato Market against copyright violations
+5 more
templatin says

Same here.

I have reported the problem to Envato support (Ticket #BAY-159-21143) couple of days back and waiting for their reply.

Some features of my theme demo don’t work when Themeforest iframe is enabled. So, the buyers will think there’s a bug in the demo and hence make an impact on sales.

55 posts
  • Has referred 1+ members
  • Elite Author: Sold more than $75,000 on Envato Market
  • Had an item featured on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
+4 more
medium_rare says

Same issue here – the top frame does strange things to my templates, this seems to have gone on a while. Can any envato staff weigh in??

657 posts Fuel Your Web
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Had an item featured on Envato Market
  • Has been part of the Envato Community for over 7 years
+4 more
Pirenko says

I have developed a script that removes the frame and reloads the page on mobile devices. This way I don’t have this issue :)

1283 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+5 more
Smartik says

I’ve just added this script in my latest item and I will include it all my comming themes and templates:

Between <head> tags:
<script>if ( top !== self ) top.location.replace( self.location.href );</script>
657 posts Fuel Your Web
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Had an item featured on Envato Market
  • Has been part of the Envato Community for over 7 years
+4 more
Pirenko says

@ Smartik: I think you should not add any extra code to your themes and templates. And also this seems to apply to all devices and this is not what was intended with this thread.

134 posts Web Geek
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Located in India
  • Helped several times protecting Envato Market against copyright violations
+5 more
templatin says

@Smartik: I have tested the script and its working perfect. This is what I was looking for.

@Pirenko: The extra code is supposed to be added only in demos (Live preview) for removing the frame but not in the final package which will be given to the buyers.

1283 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 50+ items on Envato Market
+5 more
Smartik says

@ Smartik: I think you should not add any extra code to your themes and templates. And also this seems to apply to all devices and this is not what was intended with this thread.

This is a general example of how you can remove the iframe and redirect to original demo link. Also you should include this in demo only, no need to include it in theme/template itself.

If you want to apply it only for mobile devices then ofcourse it need more work. You can find a script that detects the device written in JS or PHP or anything else and apply it condittionally. It’s up to you.

An example would be:
JS: https://github.com/barisaydinoglu/Detectizr
PHP: https://github.com/dmolsen/Detector

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by