top:
day week month all

alttech

Community for : 3 years



Owner: MrGoat

Mods:












4
Would anyone like to co-admin another voat clone     (alttech)
submitted by x0x7 to alttech 3 months ago (+5/-1)
33 comments last comment...
I know, the last thing we need is another one. JK, you can never have too many.

I think it is helpful to have some group decision making. I want to start doing more group projects rather than solo projects and why not use my voat clone that is dead in the water to do it.

Currently it's just spammed to hell by one dude, but it can be turned around. https://matrix.gvid.tv/

We'd basically run it as a democracy between the admins. I just need to select who is in. It's a chance to have authority on some irrelevant part of the internet.

5
I made a userscript to block youtube suggestions over 20 minutes long     (alttech)
submitted by soupnazi to alttech 4 months ago (+5/-0)
4 comments last comment...
I got sick of seeing 40 minute long videos on the dumbest things. Even if it is a topic I'm interested in the pacing of such a video makes it so not even 5 minutes of it are worth watching. All good youtube videos are under 20 minutes. Some of the code is mislabeled because I decided having the script tell youtube I'm not interested is a stretch goal and for the sake of the end user, simply hiding those videos is good enough.

```
// UserScript
// @name Youtube long video remove
// @namespace Violentmonkey Scripts
// @match https://www.youtube.com/
// @grant none
// @version 1.0
// @author -
// @description 11/29/2023, 6:23:59 PM
// /UserScript

// UserScript
// @name YouTube Auto 'Not Interested' for Long Videos
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Automatically mark long videos as 'Not Interested' on YouTube
// @author YourName
// @match ://youtube.com/
// @grant none
// /UserScript

(function() {
'use strict';

function convertDurationToSeconds(text) {
return text.split(':').reverse().map((i, idx) => parseFloat(i)
Math.pow(60, idx)).reduce((a, b) => a + b, 0);
}

function findAndHideLongVideos() {

var selectors = ['ytd-compact-video-renderer.style-scope.ytd-item-section-renderer','div#content.style-scope.ytd-rich-item-renderer'];
for(let selector of selectors) {
console.log("hello from long youtube")
const suggestions = document.querySelectorAll(selector);
console.log({selector,suggestions});
for (let suggestion of suggestions) {
let durationElement = suggestion.querySelector('div#time-status span#text');
if (durationElement) {
let durationSeconds = convertDurationToSeconds(durationElement.textContent.trim());
if (durationSeconds > 1200) { // 20 minutes
//Hide it
suggestion.style.display='none';
//Find and click the menu button
//let menuButton = suggestion.querySelector(/ selector for the menu button /);
//if (menuButton) menuButton.click();

//Wait for the menu to open and then click 'Not Interested'
//setTimeout(() => {
// let notInterestedButton = document.querySelector(/ selector for 'Not Interested' /);
// if (notInterestedButton) notInterestedButton.click();
//}, 500); // Adjust timeout as needed
}
}
}
}
}

// Run the function periodically
setInterval(findAndHideLongVideos, 1000); // Adjust interval as needed

})();
```
0
PureSocial founder Doug Wade interviewed by Mike Adams     (www.brighteon.com)
submitted by christianmusicreleases to alttech 3.0 years ago (+0/-0)
0 comments...
0
VICTORY within sight! The RE-PLATFORMING of America!     (www.brighteon.com)
submitted by christianmusicreleases to alttech 3 years ago (+0/-0)
1 comments last comment...