fix url not showing on deleting js
This commit is contained in:
parent
3eca7ba9ba
commit
31e643a82f
2 changed files with 2 additions and 2 deletions
|
|
@ -20,10 +20,10 @@ var commentsToDelete = []
|
||||||
var isSampleShown = false
|
var isSampleShown = false
|
||||||
|
|
||||||
chrome.runtime.sendMessage({greeting: "hello"}, function(response) {
|
chrome.runtime.sendMessage({greeting: "hello"}, function(response) {
|
||||||
document.getElementById(SEARCH_DESCRIPTION_ID).innerHTML = "Searching through the comments of the following video: <a href=\"https://www.youtube.com/watch?v=" + response.videoUrl + "\">video link (" + response.videoUrl + ")</a> by the following user: <a href=\"https://www.youtube.com/channel/" + response.toDeleteUserId + "\">user profile (" + response.toDeleteUserId + ")</a>"
|
|
||||||
youtubeToken = response.youtubetoken;
|
youtubeToken = response.youtubetoken;
|
||||||
toDeleteUserId = response.toDeleteUserId;
|
toDeleteUserId = response.toDeleteUserId;
|
||||||
videoId = response.videoId;
|
videoId = response.videoId;
|
||||||
|
document.getElementById(SEARCH_DESCRIPTION_ID).innerHTML = "Searching through the comments of the following video: <a href=\"https://www.youtube.com/watch?v=" + videoId + "\">video link (" + videoId + ")</a> by the following user: <a href=\"https://www.youtube.com/channel/" + toDeleteUserId + "\">user profile (" + toDeleteUserId + ")</a>"
|
||||||
|
|
||||||
runFindCommentThreadsRequest("", 0)
|
runFindCommentThreadsRequest("", 0)
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -19,5 +19,5 @@
|
||||||
{
|
{
|
||||||
"js": ["deleteallcomment.js"],
|
"js": ["deleteallcomment.js"],
|
||||||
"matches": ["https://www.youtube.com/deleteallcomments"]
|
"matches": ["https://www.youtube.com/deleteallcomments"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue