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
// ==UserScript== | |
// @name Fix t.co links on Tweetdeck | |
// @include *tweetdeck.twitter.com* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
setInterval(function() { | |
links = document.getElementsByClassName("url-ext"); | |
for (i = 0; i < links.length; i++) { |
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 rts = document.getElementsByClassName("tweet-context with-icn"); | |
for (i = 0; i < rts.length; i++) { | |
var children = rts[i].parentElement.parentElement.children[1].childElementCount; | |
for (j = 0; j < children; j++) { | |
var clase = rts[i].parentElement.parentElement.children[1].children[j].className; | |
if (clase == "stream-item-footer") { | |
rts[i].parentElement.parentElement.children[1].children[j].children[1].children[1].children[1].click(); | |
} | |
} | |
} |
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 tweets = document.getElementsByClassName("js-actionDelete"); | |
for (i = 0; i < tweets.length; i++) { | |
tweets[i].click(); | |
document.getElementsByClassName("EdgeButton EdgeButton--danger delete-action")[0].click(); | |
} |
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
// ==UserScript== | |
// @name New Reddit --> Old Reddit | |
// @include *www.reddit.com* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
var url = window.location.toString(); | |
window.location = url.replace('www.reddit.com', 'old.reddit.com'); |
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
#!/bin/bash | |
BASE=$(pwd) | |
cd $BASE/packages/apps/Messaging; | |
git fetch https://github.com/LineageOS/android_packages_apps_Messaging refs/changes/36/222636/2 && git cherry-pick FETCH_HEAD; | |
git fetch https://github.com/LineageOS/android_packages_apps_Messaging refs/changes/36/222636/2 && git cherry-pick FETCH_HEAD; | |
cd $BASE/system/bt; | |
git fetch https://github.com/LineageOS/android_system_bt refs/changes/28/222628/2 && git cherry-pick FETCH_HEAD; |
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
// ==UserScript== | |
// @name Hacker buttons | |
// @version 1 | |
// @include *niu.moe* | |
// @grant none | |
// ==/UserScript== | |
setTimeout(function() { | |
hackerbutton = document.createElement("img"); | |
hackerbutton.src = "https://cdn.niu.moe/custom_emojis/images/000/004/734/original/934bc263da8d1735.png"; |
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
#!/bin/bash | |
BASE=$(pwd) | |
cd $BASE/.repo/manifests; | |
git fetch https://github.com/LineageOS/android refs/changes/80/230980/2 && git cherry-pick FETCH_HEAD; | |
git fetch https://github.com/LineageOS/android refs/changes/81/230981/4 && git cherry-pick FETCH_HEAD; | |
cd $BASE; | |
repo sync --force-sync; | |
cd $BASE/build; |
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
#!/bin/sh | |
BASE=$(pwd); | |
cd $BASE/system/bt; | |
git fetch https://github.com/LineageOS/android_system_bt refs/changes/54/233854/4 && git cherry-pick FETCH_HEAD; | |
git fetch https://github.com/LineageOS/android_system_bt refs/changes/55/233855/2 && git cherry-pick FETCH_HEAD; | |
git fetch https://github.com/LineageOS/android_system_bt refs/changes/02/233902/1 && git cherry-pick FETCH_HEAD; | |
cd $BASE/external/sonivox; |
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
msgs = document.getElementsByClassName("DMDeleteMessageAction js-tooltip"); | |
button = document.getElementsByClassName("DMDeleteMessage-confirm EdgeButton EdgeButton--danger js-initial-focus")[0]; | |
for (i = 0; i < msgs.length; i++) { | |
msgs[i].click(); | |
button.click(); | |
} |
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
#!/bin/sh | |
WORKDIR=$(pwd) | |
cd $WORKDIR/external/libmpeg2; | |
git fetch https://github.com/LineageOS/android_external_libmpeg2 refs/changes/87/245487/1 && git cherry-pick FETCH_HEAD; | |
cd $WORKDIR/external/tremolo; | |
git fetch https://github.com/LineageOS/android_external_tremolo refs/changes/93/245493/1 && git cherry-pick FETCH_HEAD; | |
cd $WORKDIR/system/bt; |
OlderNewer