{"comment":{"url":"https://api.github.com/repos/gorhill/uBlock/comments/9678462","html_url":"https://github.com/gorhill/uBlock/commit/eb5629bbebda94ac4a4bf84002de6d79dcae6dfd#commitcomment-9678462","id":9678462,"user":{"login":"Deathamns","id":5853030,"avatar_url":"https://avatars.githubusercontent.com/u/5853030?v=3","gravatar_id":"","url":"https://api.github.com/users/Deathamns","html_url":"https://github.com/Deathamns","followers_url":"https://api.github.com/users/Deathamns/followers","following_url":"https://api.github.com/users/Deathamns/following{/other_user}","gists_url":"https://api.github.com/users/Deathamns/gists{/gist_id}","starred_url":"https://api.github.com/users/Deathamns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deathamns/subscriptions","organizations_url":"https://api.github.com/users/Deathamns/orgs","repos_url":"https://api.github.com/users/Deathamns/repos","events_url":"https://api.github.com/users/Deathamns/events{/privacy}","received_events_url":"https://api.github.com/users/Deathamns/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"eb5629bbebda94ac4a4bf84002de6d79dcae6dfd","created_at":"2015-02-10T16:24:31Z","updated_at":"2015-02-10T16:24:31Z","body":"They're not the same in many cases.\r\n`getAttribute` will give back the value that was set/written in HTML, accessing the the property will give the absolute URL.\r\nFor example `<img src=\"/logo.jpg\">`: `getAttribute` gives what you see inside the src attribute, the `src` property will give `http://example.com/logo.jpg`.\r\n\r\nSince the net filter is normalized to a full URL (minus protocol), it is better to check the properties.\r\nGoogle logo on its front page didn't get highlighted for example."}}