Permalink
Browse files

tweak the web

  • Loading branch information...
kjell committed Oct 28, 2015
1 parent f5c8b42 commit 04e52f9e5a6e3a5084026292d59f0eeab3a475d9
Showing with 60 additions and 0 deletions.
  1. +32 −0 facebook.com.coffee
  2. +2 −0 ikea.com.coffee
  3. +2 −0 motherearthnews.com.coffee
  4. +13 −0 pinterest.com.coffee
  5. +3 −0 salon.com.coffee
  6. +8 −0 vast-peak.herokuapp.com.coffee
View
@@ -7,8 +7,35 @@ at '^/', ->
hide_even_when_hovered '.rightColumnWrapper', '#pagelet_sidebar', '#pagelet_navigation'
+quotes = [
+ '<blockquote>The master in the art of living makes little distinction between his work and his play, his labor and his leisure, his mind and his body, his education and his recreation, his love and his religion. He hardly knows which is which. He simply pursues his vision of excellence at whatever he does, leaving others to decide whether he is working or playing. To him he is always doing both<a href="https://plus.google.com/+TimOReilly/posts/aYF8V4yD1X6">.</a>
+
+ <cite>Lawrence Pearsall Jacks</cite></blockquote>',
+
+ "<blockquote>The architect must be a prophet... a prophet in the true sense of the term... if he can't see at least ten years ahead don't call him an architect.
+
+ <cite>Frank Lloyd Wright</cite></blockquote>",
+
+ "<blockquote>There is an ulterior motive, too, in architecture, which is always peeping out from around the corner, the idea of creating paradise.
+
+ <cite>Alvar Aalto</cite></blockquote>",
+
+ "<blockquote>Whereas most other modern composers are engaged in manufacturing cocktails of every hue and description, I offer the public pure cold water.
+
+ <cite>Jean Sibelius, Of his Symphony No. 6.</cite></blockquote>",
+
+ "<blockquote>I have imagined so much and had so little
+
+ <cite>HCA</cite></blockquote>",
+
+ "<blockquote>A man's health can be judged by which he takes two at a time - pills or stairs.
+
+ <cite>Joan Welsh</cite></blockquote>"
+]
+
$ ->
# Remove facebook ads ("this person and this person liked this stupid shit") ("Trending Articles")
+ $(quotes.join('<br>')).insertBefore('#stream_pagelet')
delay 500, ->
$('.uiStreamAdditionalLogging').parents('.uiStreamStory').remove()
$('.ogAggregationHeaderTitle:matches(trending)').parents('.uiStreamStory').remove()
@@ -18,3 +45,8 @@ $ ->
$("#pagelet_ego_pane, .ego_column, #pagelet_ego_pane_w, #pagelet_timeline_ego_box").remove()
$('.uiStreamStoryAttachmentOnly').remove()
$('#pagelet_megaphone').remove()
+ $('._4-u2._xct + ._4-u2._xct').remove()
+ $('a[href*="https://www.facebook.com/friends/birthdays"]').remove()
+ console.log $('a[href*="https://www.facebook.com/friends/birthdays"]')
+ $('.fbRequestList.hasPYMK + div').remove()
+ $('#pagelet_advertiser_panel')
View
@@ -0,0 +1,2 @@
+at '^/', ->
+ window.location = 'http://www.ikea.com/us/en/'
@@ -0,0 +1,2 @@
+at 'print.aspx', ->
+ style 'body', 'max-width: 43em;'
View
@@ -1 +1,14 @@
style ".NagUnauth.Module", "display: none;"
+
+style '.Pin.fadeAd', "opacity: 0.1; transition-delay: 0s;"
+# style '.Pin', 'transition: 0.1s all; transition-delay: 2s;'
+style '.fadeAd:hover', "opacity: 0.9;"
+
+$ ->
+ removeAds()
+ setInterval removeAds, 5000
+
+removeAds = ->
+ ads = $('.creditName:contains("Picked for you"), .creditName:contains("Promoted by")')
+ ads.map (index) ->
+ $(@).parents('.Pin.summary').addClass('fadeAd')
View
@@ -0,0 +1,3 @@
+$ ->
+ document.querySelector('.nav-wrap').remove()
+ document.querySelector('.header-wrap').remove()
@@ -16,9 +16,17 @@ $ ->
delay 0, ->
$('img[src*="pinimg.com/192"]').map ->
@.src = @.src.replace('192x', '736x')
+ $('img[src*="pinimg.com/236"]').map ->
+ @.src = @.src.replace('236x', '736x')
at '/feeds/new', ->
if window.location.hash.length > 0
url = window.location.hash.replace('#', '')
$('#feed-url').attr('value', url)
$('#submit').click()
+
+style '.feedflare', 'display: none'
+
+style '.story-body', 'margin-top: 10px;'
+style '.story-body h1', 'display: none;'
+style '.story-body img', 'max-height: 96vh;'

0 comments on commit 04e52f9

Please sign in to comment.