Archive for JSFiddle

How to – Bypass YouTube restriction without logging in Google

Posted in How to, Internet, Privacy, Tweaking with tags , , , , , , , on May 20, 2014 by Sirusdark

I noticed websites had embedded YouTube videos and not a single age restriction/login prompt. After making such an observation, I tried embedding videos in a simple custom HTML page and it worked!

Why

Ever wanted to watch a movie trailer on YouTube only to be asked to login to view it? Then you decide the movie isn’t to your liking, but Google thinks you like this type of movie and start showing weird videos/ads suggestions? I got fed-up with that.

Simpler, faster

Guess what? There’s an easier and simpler way to do it than manually coding an HTML page every time: JSFiddle!

1. Copy the YouTube embeded code from the video’s sharing option

2. Go on JSFiddle and paste-it in the HTML section

3. Run the code.

Voilà! Problem solved. Google won’t ask you to login and won’t associate the viewed video to your account, since you’re not logged in. Right?

Enjoy!

Sirus
sirusdark.ca

Advertisements

How to save and download JSFiddle code

Posted in Browser, Coding, Open source, Tweaking with tags , , , on April 10, 2014 by Sirusdark

JSFiddle Logo

JSFiddle is AWESOME to test any code or when you simply need to iterate quickly some code. But there’s no way to simply save everything all together at once. Here’s a hack to do just that!

Simply add “embedded/” orembedded/result/” at the end of your JSFiddle URL! You can then save the whole page as an MHT or HTML file + the external libraries (if any)!

Hack it, grab it

1. Add embedded/result/ at the end of the JSFiddle URL you wanna grab.

2. Show the frame or the frame’s source code: right-click anywhere in the page and view the frame in a new tab or the source  right-away (requires Firefox).

3. Finally, save the page in your preferred format (MHT, HTML, TXT, etc.) and voilà!

4. Don’t forget to save any external libraries that you may have called.

“embedded/” or “embedded/result/” ?

Here’s an example of a JSFiddle code I created: http://jsfiddle.net/R3C6p/

As you  can see, you can’t view it as a single HTML page. Now, check it out with the modified URL: http://jsfiddle.net/R3C6p/embedded/ and http://jsfiddle.net/R3C6p/embedded/result/. Notice that the embedded version allows you to switch each sections, while the result version only shows your code’s result. That’s the one you’ll need to open the frame to grab the source code (Ctrl+U).

That’s it!

FREE BONUS! Shattered Planet Logo

Available on iOS now!

I’ve personally playtested that game: it’s fun!

Enjoy!

Sirus
sirusdark.ca