Youtube without Flash Auto

By YoutubeWithoutFlash Last update Jan 30, 2011 — Installed 97,156 times.

Midori?

in
Subscribe to Midori? 2 posts, 2 voices



DaVince Scriptwright

The script's main page says Midori support is added, but for some reason it won't work for me, even after restarting the browser. Any idea as to what might be wrong?

 
themiddleman Scriptwright
MozillaX11
Thanks for the tip, ok first off the problem is Midori doesn't support the additional Greasemonkey features, the wiki says:

"Midori's support for user scripts aims to be compatible with Greasemonkey to a good extent. Midori supports Greasemonkey's @include and @exclude metadata. So user scripts have a way to define on which pages they will be executed. Midori does not support advanced metadata, such as @require and @resource, so user scripts cannot define dependencies on other scripts. Midori also does not support greasemonkey's api. Be aware that scripts must be compatible with Webkit. A Greasemonkey script that makes use of functionality specific to Gecko will not work in Midori."

So the problem is that we use "@resource" to grab the controls and stuff for the vlc plugin controls and Midori doesnt like that, but these aren't necessary, just use the Generic player. But even using the Vlc plugin with the generic player produces some graphical glitches. So...

Midori Instructions
1. Download the latest "youtube without flash auto" script.
2. Open the file with a text editor.
3. Delete the following 3 lines (on about line 70)
// @resource vlcytplayer http://vlcytplayer.googlecode.com/files/vlcplayer.js
// @resource vlcobject http://vlcytplayer.googlecode.com/files/VLCobject.js
// @resource jquery http://code.jquery.com/jquery-latest.js

4. put in the file in the scripts folder of midori "~/.local/share/midori/scripts/" making the folders if necessary.
5. Enjoy youtube without flash :D

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel