WordPress.org

Support

Support » Plugins and Hacks » WP Web Scraper » [Resolved] [Plugin: WP Web Scraper] on-click

[Resolved] [Plugin: WP Web Scraper] on-click

  • Hi,
    I have in the scraped page an
    text
    The href would work fine as I correct the url towards an absolute one.
    The problem is the onclick.
    I tried to extend functions.php but it doesn’t give the desired result. Any hint?

    if(!empty($wpwsopt[‘basehref’]))
    $filtered_html = preg_replace(‘#onclick=”window.open\(\’#’,’onclick=”my_window.open(\’XXX’.$wpwsopt[‘basehref’],$filtered_html);

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: WP Web Scraper] on-click’ is closed to new replies.
Skip to toolbar