1. remove comments from youtube
  2. all punctuation from NY times
  3. the prices on eBay items
  4. ads on youtube
  5. email address’s on gmail inbox
  6. all numbers on wikipedia page
  7. everything that has to do with feedback on amazon website
  8. all images from nhl.com

TamperMonkey practice 2


// ==UserScript==
// @name         practiceScript1
// @namespace    https://sngonza2.tumblr.com/
// @version      0.1
// @description  Getting rid of stuff that doesn't look important
// @author       Stephanie Gonzalez
// @match        https://www.yahoo.com/?soc_src=mail&soc_trk=ma
// @grant        none
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==

(function() {
    'use strict';

    var j = jQuery.noConflict();
    j('#applet_p_32209491').fadeOut(2000);
    j('#mega-topbar').hide();
    j('.js-applet-view-container-main:contains("homepage")').hide();
    j('.js-applet-view-container-main:contains("TV")').fadeOut(2000);

})();

Erase Ideas

  1. Remove youtube video titles
  2. Remove youtube video thumbnails
  3. Remove Amazon review stars
  4. Remove seller rating on eBay
  5. Remove seller location on eBay
  6. Remove subreddit names
  7. Remove reddit upvotes
  8. Remove titles on buzzfeed articles

 

tampermonkey exercise

var j = jQuery.noConflict();

   setInterval(fadeOutIn, 3000);

   function fadeOutIn(){

       j (‘p’).fadeOut(2000, fadeBackIn);

   function fadeBackIn(){

       j(‘p’).fadeIn(1000);

 

j(‘span’).hide();

j(‘a:contains(“man”)’).text(‘LOL NOPE’);

j(‘#div’).css.(‘border’, ‘3px solid red’);

} }  })();

Observe #4

I pulled up Google and I’m not sure why I JUST noticed this: maybe its new? maybe I’ve just been oblivious to it? But there were 4 moving balls just to the top left-hand corner of “Google” that I’ve never seen before.

They were moving in this swirly motion and I starred at it for like 2 minutes straight. Not sure what Google achieves by doing this..but it made me forget what I was going to type into the search engine!

Project 4:ERASE Ideas

Things I could erase from a website

  1. the search bar function on any page
  2. headings on pages (News pages Specifically)
  3. the title of any page
  4. any numbers (dates, etc.)
  5. remove the word “like”
  6. remove all visuals (pictures, videos, etc)
  7. remove all periods “.”
  8. remove the letter “a”

TamperMonkey HW 2.8.18

 

(function() {
    'use strict';
var j = jQuery.noConflict();

    j('a').text("LOVE ONLY: It's VDAY!");
    j('div:contains("taxpayers")').css('border','1px solid pink');
    j('div.powa-shot-image.powa-shot-click.powa-shot-click-play').fadeOut(5000);

})();

In Class Userscript


(function() {
    'use strict';

    var j = jQuery.noConflict();

    j('a.homeheadline').css('border', '3px solid blue')

    setInterval(fadeOutIn, 3000);

    function fadeOutIn() {
  j('img').fadeOut(2000, fadeBackIn);
        }
 function fadeBackIn() {
   j('img').fadeIn(1000);
 }
    j('div#content:contains("Illinois")').text("Ben Grosser did this");

})();

tampermonkey

// ==UserScript==
// @name         Second Userscript
// @namespace    mitchell
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://www.google.com/*
// @grant        none
// @require      http://code.jquery.com/jquery-latest.js
// ==/UserScript==

(function() {
    'use strict';
    //alert('text text text');
    var j = jQuery.noConflict();

    j('a').css('background-color','lightpink').css('font-size','25px').fadeOut(5000);
    j('.gsfi').fadeOut(3000);
    j('#gbqfbb').val('please kill me').css('font-size','40px').css('height','55px');
    j('[name=btnK]').val('deke weaver').css('font-size','40px').css('height','55px');
    j('a:contains("Gmail")').text('live fast eat ass');
    j('canvas').css('opacity','0');
    j('.st:first').fadeOut(1000);
    j('.st:nth(2)').fadeOut(2000);
    j('.st:nth(3)').fadeOut(3000);

})();

Tamper Monkey Exercise

/ ==UserScript==
// @name Crunchy Roll
// @namespace http://chaseiscool.net/
// @version 0.1
// @description Messin’ with stuff
// @author Ya boy Chase
// @match http://www.crunchyroll.com/*
// @grant none
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==

(function() {
‘use strict’;

var j = jQuery.noConflict();

setInterval(fadeOutIn, 3000);
function fadeOutIn() {
j(‘a.js-simulcast-series-link’).fadeOut(2000, fadeBackIn);
}

function fadeBackIn() {
j(‘a.js-simulcast-series-link’).fadeIn(); }

j(‘a’).hide();
})();

Exercise 2/12

(function() {
    'use strict';
var j = jQuery.noConflict();

    setInterval(fadeOutIn, 3000);

    function fadeOutIn(){
        j ('img').fadeOut(2000, fadeBackIn);

    function fadeBackIn(){
        j('img').fadeIn(1000);

    }
    }

    })();

Tapermonkey first script

// ==UserScript==
// @name         First Userscript
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Tweak NYT a litte
// @author       KateM
// @match        https://www.washingtonpost.com/*
// @grant        none
// @require      http://code.jquery.com/jquery-latest.js
// ==/UserScript==

(function() {
    'use strict';
    var j = jQuery.noConflict();
    // anything here will run when NYT loads
    // hide, show, fadeIn, fadeOut, css, text
    // append, prepend, before, after
    // class selector, id selector, contains()
    j('.headline').prepend('\"We heard that ');
    j('.headline').append(',\" reports New York Times.');
})();

(function() {
    'use strict';

var j = jQuery.noConflict();

    j('h1').fadeOut(5000,fadeBackIn);

    function fadeBackIn(){
        j('h1').fadeIn(5000);
    }


    j('p').css('border','1px solid blue');

    j('h2:contains("Child Abuse")').text("Wishes He was the SuperBowl Selfie Kid");

    j('input').hide();

Project 3

j(‘div:contains(“Update on GEO Negotiations”)’).css(‘font-family’,’Comic Sans MS’);

j(‘td’).append(‘,Deal With It’)

j(‘td’).append(‘,Deal With It’).css(‘FontFace’,’Bold’)

j(‘img’).attr(‘src’,’http://thatsthefinger.com/img/share.png’);

j(‘li’,’div’).append(‘PENGOLIN’);

Project 0 Observe

Ask anyone who uses Snapchat and they can tell you that this update is pure trash. UI/UX friendliness went out the fucking door when they were pushing this out. It’s cluttered and confusing. They try to push everything in one space and it feels very convoluted to the point where it is unusable and a pain. They keep pushing stories in your face and is something I’ve been ignoring. The way they organize your snaps is also terrible because now people will stories can actually come up as recent even though you don’t care about that person and it makes you scroll down to the person you are talking to. Snapchat used to be pretty convient but it seems like it’s in a downward spiral. Makes me glad I don’t rely on it too much anymore.

 

Project 0: 3

Reddit loves to advertise it’s app to me all the time. When I enter it, it always asks me if I am “sure I want to” and “the app is 50% faster”. I choose not to have the app to avoid clutter, but it always chooses to almost shame me into using it., they also say that I “Deserve the best” almost ironically insulting their mobile web browser version in the process.

The worst part of it all is the huge “Continue” button, you’d think that it meant continue onto the website, but no, it’s to open the App Store, and the small light grey text underneath is the real way to get to the website. It’s so annoying how many times I either reflexively press continue or accidentally hit it with my child bearing hips I call thumbs. I’m just waiting for the moment where they don’t even let you go onto the website without the app.

ADD: Project 3

#God Wears Grey

 j('p:contains("Benjamin")').append(' Grosser also wears only Grey, other colors are for losers. (not an opinion just a fact), If you dont wear grey, you probably ride the bus'); 

 j('a:contains("tags")').append('Must be related to Grey, if not no dice buddy'); 
 j('p').append('And not to mention those slick sweet gray shirts, if he wasnt wearing them I his credibility would go down the drain'); 

 

 j('a:contains("Bio")').append(' and his struggle to find the right shade of gray'); 
 j('p:contains("Media")').append(' and Gray and those sweet sexy sandals.'); 
 j('a:contains("Email")').append(' about his wonderful Gray shirts'); 
 j('a:contains("Personal")').append(' The shirt in this picture may seem black to you, but black is just a shade of Gray and if you think hard enough gray and black are the same color'); 

Project 3: ADD

Website 1: The NY Times

j('a').prepend('Dilly,');
j('a').append('Dilly!'); 

Website 2: Wikipedia

 
j('strong').css('border','1px solid red');

Website 3: theSkimm

 
j('a').prepend('totes read '); 
j('p').css('font-family', 'Courier New');
j('a').css('font-family','Comic Sans MS');

Website 4: Fox News

 
j('a').css('backgroundColor','yellow');