Skip to content

Commit

Permalink
Fix issue with videos (#22); bump version to 1.11.3
Browse files Browse the repository at this point in the history
  • Loading branch information
hckr committed Aug 5, 2019
1 parent 72202ca commit cceab6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function observerCallback(mutations) {
context_layer = container.closest('.uiContextualLayerPositioner');
menu_arrow = document.getElementById(context_layer.getAttribute('data-ownerid'));
post = menu_arrow.closest('.userContentWrapper, .fbPhotoSnowliftContainer');
permalink = post.querySelector('abbr').parentNode.href;
permalink = post.querySelector('abbr').parentNode.href.replace(/([^?]+)(\?.*)?/, '$1?comment_id=1');
if (!permalink) {
return;
}
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"description": "Web Extension to save Facebook posts as images",
"manifest_version": 2,
"name": "Facebook Post Screenshot",
"version": "1.11.2",
"version": "1.11.3",
"homepage_url": "https://github.com/hckr/fb-post-screenshot",
"icons": {
"72": "icons/icon.png"
Expand Down

0 comments on commit cceab6a

Please sign in to comment.