linterna-magica-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linterna-magica-commit] [274] Fixes freeze in google.


From: Ivaylo Valkov
Subject: [linterna-magica-commit] [274] Fixes freeze in google.
Date: Mon, 14 May 2012 17:01:30 +0000

Revision: 274
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=linterna-magica&revision=274
Author:   valkov
Date:     2012-05-14 17:01:29 +0000 (Mon, 14 May 2012)
Log Message:
-----------
Fixes freeze in google. See support #108013

Ticket Links:
------------
    http://savannah.gnu.org/support/?108013

Modified Paths:
--------------
    trunk/src/lm_site_google_video.js

Modified: trunk/src/lm_site_google_video.js
===================================================================
--- trunk/src/lm_site_google_video.js   2012-05-07 11:18:15 UTC (rev 273)
+++ trunk/src/lm_site_google_video.js   2012-05-14 17:01:29 UTC (rev 274)
@@ -45,6 +45,20 @@
 LinternaMagica.prototype.sites["video.google.com.ar"] = "video.google.com";
 LinternaMagica.prototype.sites["video.google.ru"] = "video.google.com";
 
+// Needet to prevent blocking of the browser in the web search engine
+// (images, video) See skip_script_processing().
+LinternaMagica.prototype.sites["encrypted.google.com"] = "video.google.com";
+LinternaMagica.prototype.sites["www.google.com"] = "video.google.com";
+
+// See bug #108013:
+// https://savannah.nongnu.org/support/index.php?108013
+LinternaMagica.prototype.sites["video.google.com"].
+skip_script_processing = function()
+{
+    // Skip script procerssing at all.
+    return false;
+}
+
 LinternaMagica.prototype.sites["video.google.com"].set_video_link_regex =
 function()
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]