tag 321499 + patch
thanks

I did a little hacking, and the solution to this problem seems quite
simple: disabling image display and fetching of external content fot the
lyrics KHTMLPart.  The following patch should fix that:

--- amarok-1.2.4/amarok/src/contextbrowser.cpp.eerst    2005-05-19 
19:00:19.000000000 +0200
+++ amarok-1.2.4/amarok/src/contextbrowser.cpp  2005-08-14 18:53:36.376243047 
+0200
@@ -95,7 +95,12 @@
     m_currentTrackPage->setDNDEnabled( true );
     m_lyricsPage = new KHTMLPart( this, "lyrics_page" );
     m_lyricsPage->setJavaEnabled( false );
+    m_lyricsPage->setJScriptEnabled( false );
     m_lyricsPage->setPluginsEnabled( false );
+    m_lyricsPage->setStatusMessagesEnabled( false );
+    m_lyricsPage->setMetaRefreshEnabled( false );
+    m_lyricsPage->setAutoloadImages( false );
+    m_lyricsPage->setOnlyLocalReferences( true );
     m_lyricsPage->setDNDEnabled( true );
 
     //aesthetics - no double frame


I'm running amarok with this patch included right now, and it seems to
work perfectly.

It would be nice if also cookies could be turned off, but KHTMLPart
doesn't seem to have an option for that.

-- 
Kind regards,
+--------------------------------------------------------------------+
| Bas Zoetekouw              | GPG key: 0644fab7                     |
|----------------------------| Fingerprint: c1f5 f24c d514 3fec 8bf6 |
| [EMAIL PROTECTED], [EMAIL PROTECTED] |              a2b1 2bae e41f 0644 fab7 |
+--------------------------------------------------------------------+ 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to