This is AdBlock's old support site. It is available for archival purposes only. To create a new discussion, or to visit the up-to-date knowledge base, please visit help.getadblock.com

Error with <object type="image/svg+xml">

Nikolay's Avatar

Nikolay

27 Nov, 2015 01:09 PM

Good day!

When I insert the tag <object data="data.svg" type="image/svg+xml"></object> or <embed src="data.svg" type="image/svg+xml" /> is written to the console error: "Uncaught TypeError: Can not read property 'length' of undefined", file ad.js and line 53.

In this line of code: if ( str.length === 0 ) {
Maybe it makes sense replace to: if ( !str || str.length === 0 ) {
  
====== Do not touch below this line ======
  
```
==== Filter Lists ====
adblock_custom
  last updated: Fri, 27 Nov 2015 12:46:00 GMT
easylist
  last updated: Fri, 27 Nov 2015 12:46:02 GMT
russian
  last updated: Fri, 27 Nov 2015 12:46:01 GMT
acceptable_ads
  last updated: Fri, 27 Nov 2015 12:46:01 GMT
  
==== Settings ====
debug_logging: false
youtube_channel_whitelist: false
whitelist_hulu_ads: false
show_context_menu_items: false
show_advanced_options: true
display_stats: true
display_menu_stats: true
show_block_counts_help_link: true
dropbox_sync: false
show_survey: true
malware-notification: undefined
  
==== Other info: ====
AdBlock version number: 2.44 Stable
Total pings: 93
UserAgent: Mozilla/5.0 (Windows NT 6.3 WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36
```

  1. Support Staff 1 Posted by Rhana on 31 Dec, 2015 02:36 PM

    Rhana's Avatar

    Hi Nikolay,

    Our apologies for the delay in getting back to you! Your report somehow fell to the bottom of our queue.

    I'll ask our developers to look into this. Please allow extra time for a response because of the holidays.

    Rhana
    AdBlock Community Manager

Discussions are closed to public comments.
If you need help with AdBlock please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac