How to run a jsfiddle result with url?

JavascriptHtmlJsfiddle

Javascript Problem Overview


I have this jsfiddle:

https://jsfiddle.net/foreyez/vdk7guob/

<div id='container'>
Hello World
</div>

I'd like to run it so that when I go to a url it'll just show me the results window (NOT the editor). So I'd just see a blank "Hello World" on the screen. It'd be nice if jsfiddle had a query string to do this as an option: https://jsfiddle.net/foreyez/vdk7guob/?run=true or something.

Is this possible with jsfiddle, or some other workaround?

p.s I'm trying to test some things with mobile that's why I'd like a url to my running fiddle (not editor).

Javascript Solutions


Solution 1 - Javascript

Add /show to the end of your URL: https://jsfiddle.net/foreyez/vdk7guob/show

Solution 2 - Javascript

If this is only for demo purpose, then you should be satisfied with this: https://jsfiddle.net/foreyez/vdk7guob/embedded/result/

as with pattern:

url: https://jsfiddle.net/_USER_/_FIDDLEID_/embedded/result/

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionShai UIView Question on Stackoverflow
Solution 1 - JavascriptfredroverView Answer on Stackoverflow
Solution 2 - JavascriptMaciej KwasView Answer on Stackoverflow