Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Github_Comment_Enhancer/Github_Comment_Enhancer.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@
}
},

"function-snippets-tab": {
exec: function(txt, selText, commentForm, next) {
next("\t");
}
},
"function-snippets-useragent": {
exec: function(txt, selText, commentForm, next) {
next("`" + navigator.userAgent + "`");
Expand Down Expand Up @@ -280,6 +285,9 @@
' </div>' +
' <div class="select-menu-list" style="overflow:visible;">' +
' <div data-filterable-for="context-snippets-filter-field">' +
' <a href="#" id="function-snippets-tab" class="function-button select-menu-item js-navigation-item tooltipped tooltipped-w" aria-label="Add tab character" style="table-layout:initial;">' +
' <span class="select-menu-item-text js-select-button-text">Add tab character</span>' +
' </a>' +
' <a href="#" id="function-snippets-useragent" class="function-button select-menu-item js-navigation-item tooltipped tooltipped-w" aria-label="Add UserAgent" style="table-layout:initial;">' +
' <span class="select-menu-item-text js-select-button-text">Add UserAgent</span>' +
' </a>' +
Expand Down