Advertisement
Guest User

ggblocker.user.js

a guest
Nov 1st, 2014
310
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name          ggblocker
  3. // @namespace     http://www.goat.se
  4. // @description   redirect gamersgate supporters to archive.today
  5. // @version       1.0
  6. // @include       http*://*kotaku.com/*
  7. // @include       http*://*kotaku.co.uk/*
  8. // @include       http*://*kotaku.com.au/*
  9. // @include       http*://*kotaku.com.br/*
  10. // @include       http*://*kotaku.jp/*
  11. // @include       http*://*polygon.com/*
  12. // @include       http*://*destructoid.com/*
  13. // @include       http*://*rockpapershotgun.com/*
  14. // @include       http*://motherboard.vice.com/*
  15. // @include       http*://*ign.com/*
  16. // @include       http*://uk.ign.com/*
  17. // @include       http*://au.ign.com/*
  18. // @include       http*://ap.ign.com/*
  19. // @include       http*://world.ign.com/*
  20. // @include       http*://*gamespot.com/*
  21. // @include       http*://*gamespot.com.au/*
  22. // @include       http*://*gamespotasia.com/*
  23. // @include       http*://*gamasutra.com/*
  24. // @include       http*://*gameranx.com/*
  25. // @include       http*://*pcgamer.com/*
  26. // @include       http*://*oxmonline.com/*
  27. // @include       http*://*totalxbox.com/*
  28. // @include       http*://games.on.net/*
  29. // @include       http*://*ausgamers.com/*
  30. // @include       http*://*gameplanet.co.nz/*
  31. // @include       http*://borderhouseblog.com/*
  32. // @include       http*://*gamegatenews.com/*
  33. // @include       http*://gizmodo.com/*
  34. // @include       http*://*gizmodo.co.uk/*
  35. // @include       http*://*gizmodo.com.au/*
  36. // @include       http*://gizmodo.uol.com.br/*
  37. // @include       http*://*gizmodo.jp/*
  38. // @include       http*://*pcauthority.com.au/*
  39. // @include       http*://*arstechnica.com/*
  40. // @include       http*://*vice.com/*
  41. // @include       http*://*dailydot.com/*
  42. // @include       http*://*badassdigest.com/*
  43. // @include       http*://*thedailybeast.com/*
  44. // @include       http*://*newmediarockstars.com/*
  45. // @include       http*://*rawstory.com/*
  46. // @include       http*://*geekparty.com/*
  47. // @include       http*://*themarysue.com/*
  48. // @include       http*://*salon.com/*
  49. // @include       http*://*buzzfeed.com/*
  50. // @include       http*://*uproxx.com/*
  51. // @include       http*://*comicsalliance.com/*
  52. // @include       http*://*pastemagazine.com/*
  53. // @include       http*://*wired.com/*
  54. // @include       http*://*newyorker.com/*
  55. // @include       http*://*cracked.com/*
  56. // @include       http*://*mic.com/*
  57. // @include       http*://*xojane.com/*
  58. // @include       http*://*theverge.com/*
  59. // @include       http*://*syacartoonist.com/*
  60. // @include       http*://*andysartworks.com/*
  61. // @include       http*://tompreston.deviantart.com/*
  62. // @include       http*://*gawker.com/*
  63. // @include       http*://valleywag.gawker.com/*
  64. // @include       http*://defamer.gawker.com/*
  65. // @include       http*://*lifehacker.com/*
  66. // @include       http*://*lifehacker.co.uk/*
  67. // @include       http*://*lifehacker.com.au/*
  68. // @include       http*://*lifehacker.jp/*
  69. // @include       http*://*deadspin.com/*
  70. // @include       http*://screamer.deadspin.com/*
  71. // @include       http*://theconcourse.deadspin.com/*
  72. // @include       http*://*io9.com/*
  73. // @include       http*://sploid.gizmodo.com/*
  74. // @include       http*://*jalopnik.com/*
  75. // @include       http*://truckyeah.jalopnik.com/*
  76. // @include       http*://*cink.hu/*
  77. // @include       http*://*doctornerdlove.com/*
  78. // @include       http*://*rationalwiki.org/*
  79. // @include       http*://*tvtropes.org/*
  80. // @include       http*://*neogaf.com/*
  81. // @include       http*://*somethingawful.com/*
  82. // @include       http*://*rllmukforum.com/*
  83. // @include       http*://*idlethumbs.net/idlethumbs
  84. // @include       http*://itunes.apple.com/podcast/idle-thumbs
  85. // @include       http*://*loveshackentertainment.com/*
  86. // @include       http*://*polytroncorporation.com/*
  87. // @include       http*://*fullbright.company/*
  88. // @include       http*://*fullbrig.ht/*
  89. // @include       http*://blog.fullbrig.ht/*
  90. // @include       http*://*auntiepixelante.com/*
  91. // @include       http*://*silverstringmedia.com/*
  92. // @include       http*://*agencyforgames.com/*
  93. // @include       http*://*rebelgamejam.com/*
  94. // @include       http*://*paxsite.com/*
  95. // @include       http*://prime.paxsite.com/*
  96. // @include       http*://east.paxsite.com/*
  97. // @include       http*://south.paxsite.com/*
  98. // @include       http*://aus.paxsite.com/*
  99. // @include       http*://auspanels.paxsite.com/*
  100. // @include       http*://dev.paxsite.com/*
  101. // @include       http*://devpanels.paxsite.com/*
  102. // @include       http*://*childsplaycharity.org/*
  103. // @include       http*://*igf.com/*
  104. // @include       http*://*indiecade.com/*
  105. // @include       http*://*feministfrequency.com/*
  106. // @include       http*://*critical-proximity.com/*
  107. // @include       http*://*xoxofest.com/*
  108. // @include       http*://*digra.org/*
  109. // @include       http*://digra2014.eae.utah.edu/*
  110. // @include       http*://*nordic-digra.org/*
  111. // @include       http*://digrafinland.wordpress.com/*
  112. // @include       http*://*digraa.org/*
  113. // @include       http*://*digrajapan.org/*
  114. // @include       http*://*digra-j.net/*
  115. // @include       http*://*digrastudents.org/*
  116. // @include       http*://*todigra.org/*
  117. // @exclude       http*://*archive.today/*
  118. // ==/UserScript==
  119.  
  120. var today = new Date();
  121. var dd = today.getDate();
  122. var mm = today.getMonth()+1;
  123. var yyyy = today.getFullYear();
  124. if(dd<10){
  125. dd='0'+dd;
  126. }
  127. if(mm<10){
  128. mm='0'+mm
  129. }
  130. var today = yyyy+'.'+mm+'.'+dd;
  131.  
  132. victim = content.document.location;
  133.  
  134. window.location.replace('http://archive.today/' + today + '/' + victim);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement