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
  • Had an item that became a weekly top seller
+3 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?

126 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Had an item that became a weekly top seller
  • Has collected 100+ items on Envato Market
+6 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.

35 posts
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in Pakistan
  • Sells items exclusively on Envato Market
+1 more
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.

194 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
+6 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.

74 posts
  • Made it to the Authors' Hall of Fame
  • Elite Author: Sold more than $75,000 on Envato Market
  • Became a Top 20 Author of the Month
  • Had an item featured on Envato Market
+8 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??

693 posts Fuel Your Web
  • Had an item that became a weekly top seller
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Had an item featured on Envato Market
+5 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 :)

1362 posts
  • Had an item that became a weekly top seller
  • 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
+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>
693 posts Fuel Your Web
  • Had an item that became a weekly top seller
  • Elite Author: Sold more than $75,000 on Envato Market
  • Won a competition
  • Had an item featured on Envato Market
+5 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.

194 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
+6 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.

1362 posts
  • Had an item that became a weekly top seller
  • 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
+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

by
by
by
by
by
by