This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sum = 0; | |
var count = 0; | |
var $counter = document.createElement('div'); | |
$counter.setAttribute('style', 'position: fixed; width: 300px; min-height: 20px; bottom: 14px; right: 14px; background: rgba(0,0,0,0.7); border-radius: 10px;'); | |
document.body.appendChild($counter); | |
var autoLike = function () { | |
let buttons = document.querySelectorAll('div[data-testid="like"]'); | |
if (buttons.length <= 0) { | |
restart() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sum = 0; | |
var count = 0; | |
var $counter = $('<div style="position: fixed; width: 300px; min-height: 20px; bottom: 14px; right: 14px; background: rgba(0,0,0,0.7); border-radius: 10px;"></div>'); | |
$('body').append($counter); | |
var autoLike = function () { | |
var i = 0; | |
var time = 0; | |
$('.ProfileTweet-actionButton.js-actionButton.js-actionFavorite').each(function (index, element) { | |
if ($(element).is(':visible')) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
var anchors = document.getElementsByTagName('a'); | |
for(var i = 0; i < anchors.length; i++) { | |
var a = anchors[i]; | |
if (!a.href.length || ~a.href.indexOf(location.host)) { continue } | |
a.target = '_blank'; | |
} | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sum = 0; | |
var count = 0; | |
var $counter = $('<div style="position: fixed; width: 300px; min-height: 20px; bottom: 14px; right: 14px; background: rgba(0,0,0,0.7); border-radius: 10px;"></div>'); | |
$('body').append($counter); | |
var autoLike = function () { | |
var i = 0; | |
var time = 0; | |
$('.ProfileTweet-actionButton.js-actionButton.js-actionFavorite').each(function (index, element) { | |
if ($(element).is(':visible')) { |