Old Proxomitron Forums
September 02, 2014, 10:35:59 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: No activity here! This forum is read-only. Go to http://prxbx.com/forums/index.php.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Opera Sidepanel filters  (Read 759 times)
Jor

Sr. Member
****
Posts: 421

10401286 jor otf jor_otf
View Profile WWW Email
« on: August 15, 2002, 12:54:27 AM »

This filter is based on sidki's Fix <base> Target, but for a very specific use:

In Opera, sidepanel links always open in the sidepanel window (unless target=foo is used in the sidepanel pages). Using a quick rewrite of your code, I now found a way to get all sidepanels to open in new windows

[Blocklists]List.SidePanel = "..ListsSide Panels.txt"

[Patterns]
Name = "Opera Sidepanels open in new window"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)&$LST(SidePanel)"
Limit = 256
Match = "(<bases*)9"
        "("
        "(target=$AV(((_|)top|self|parent)3)7&$SET(1=9target="_blank"7))"
        "|"
        "((target=$AV(3))87&$SET(1=987))"
        "|"
        "(>&$SET(3=-empty-)&$SET(1=9 target="_blank">))"
        ")"
        "|"
        "((</head>)2&$SET(1=
<base target="_blank">
))"
Replace = "12$STOP()"


All sidepanels used would have to be listed in the SidePanel blocklist.

My list:
# Proxomitron4 URL killfile: $LST(SidePanel)
#
# by Jor
#
#
# Blocklist for use with the 'Sidepanels open in new window' filter. This file
# lists all sites currently used as Opera sidepanels.
#

custom.opera.com/~stephan/nu.nl.cgi
europe.cnn.com/desktop/content.html
my.opera.com/customize/panels/?rdf=


(The last entry is an RDF/RSS interpreter I use with many RDF or RSS feeds, including Slashdot)



Edited by - Jor on 15 Aug 2002  02:11:12
Logged

 
Jor

Sr. Member
****
Posts: 421

10401286 jor otf jor_otf
View Profile WWW Email
« Reply #1 on: August 15, 2002, 01:13:10 AM »

A second filter for Opera sidepanels, taking care of the problem these cannot be refreshed:

[Patterns]
Name = "Sidepanels: Add [Refresh]"
Active = TRUE
URL = "$TYPE(htm)&$LST(SidePanel)"
Limit = 256
Match = "<body*1>2"
Replace = "<body1><a href="u" target="_self">[REFRESH]</a><br />"
          "
2"


Edited by - Jor on 15 Aug 2002  02:45:20
Logged

 
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!