Advertisement
Valdezate

Anti AEDE para GreaseMonkey/TaperMonkey

May 26th, 2014
944
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.68 KB | None | 0 0
  1. // ==UserScript==
  2. // @name anti AEDE
  3. // @namespace http://www.meneame.net/
  4. // @version 1.0.4.6
  5. // @description marcar en rojo
  6. // @include *
  7. // @updateURL https://raw.github.com/pykiss/anti-AEDE/master/script.user.js
  8. // @copyright Antonio Fernández Porrúa. Pau Capó. Licencia GPL
  9. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js
  10. // @require http://pykiss.github.io/anti-AEDE/javascripts/jquery.minicolors.js
  11. // @grant GM_getValue
  12. // @grant GM_setValue
  13. //
  14. // LO CUELGO AQUÍ PORQUE USERSCRIPTS ESTÁ CAÍDO Y NO SE SABE CUÁNDO VOLVERÁ
  15. //
  16. // ==/UserScript==
  17.  
  18. /* jshint -W030 */ // para poder usar a && b como atajo para if(a) b
  19.  
  20. /* para tener la lista de dominios limpia, por si se necesita en un futuro
  21. '11870.com',
  22. '11824.es',
  23. 'abc.es',
  24. 'abcdesevilla.es',
  25. 'adn.fm',
  26. 'adnradio.cl',
  27. 'aede.es',
  28. 'alfaguara.com',
  29. 'as.com',
  30. 'autocasion.com',
  31. 'avanzaentucarrera.com',
  32. 'besame.fm',
  33. 'besame.co.cr',
  34. 'besame.com.mx',
  35. 'cadenadial.com',
  36. 'cadenaser.com',
  37. 'canalplus.es',
  38. 'canarias7.es',
  39. 'caracol.com.co',
  40. 'caracol1260.com',
  41. 'castellolopesmultimedia.com',
  42. 'cincodias.com',
  43. 'cinemania.es',
  44. 'clix.pt',
  45. 'colorincolorradio.com',
  46. 'concierto.cl',
  47. 'continental.com.ar',
  48. 'corazon.cl',
  49. 'correofarmaceutico.com',
  50. 'dalealplay.com',
  51. 'dbalears.cat',
  52. 'deia.com',
  53. 'diaridegirona.cat',
  54. 'diaridetarragona.com',
  55. 'diarideterrassa.es',
  56. 'diariocordoba.com',
  57. 'diariodeavila.es',
  58. 'diariodeavisos.com',
  59. 'diariodeburgos.es',
  60. 'diariodecadiz.es',
  61. 'diariodeibiza.es',
  62. 'diariodejerez.es',
  63. 'diariodelaltoaragon.es',
  64. 'diariodeleon.es',
  65. 'diariodemallorca.es',
  66. 'diariodenavarra.es',
  67. 'diariodenoticias.org',
  68. 'diariodesevilla.es',
  69. 'diarioinformacion.com',
  70. 'diariojaen.es',
  71. 'diariomedico.com',
  72. 'diariopalentino.es',
  73. 'diariosur.es',
  74. 'diariovasco.com',
  75. 'dmedicina.com',
  76. 'editorialaurus.com',
  77. 'eladelantado.com',
  78. 'elalmeria.es',
  79. 'elboomeran.com',
  80. 'elcomercio.es',
  81. 'elcorreoweb.es',
  82. 'elcorreo.com',
  83. 'eldiadecordoba.es',
  84. 'eldiariomontanes.es',
  85. 'eleconomista.es',
  86. 'elmundo.es',
  87. 'elnortedecastilla.es',
  88. 'elmun.do',
  89. 'elpais.com',
  90. 'elpais.es',
  91. 'elpaisaguilar.es',
  92. 'elpaisclubdevinos.es',
  93. 'elperiodicodearagon.com',
  94. 'elperiodicoextremadura.com',
  95. 'elperiodicomediterraneo.com',
  96. 'elperiodico.cat',
  97. 'elperiodico.com',
  98. 'elpokerdeas.com',
  99. 'elprogreso.es',
  100. 'escolasdevalor.com.br',
  101. 'escuelaunidadeditorial.com.br',
  102. 'essayandscience.com',
  103. 'europasur.es',
  104. 'expansion.com',
  105. 'expansionyempleo.com',
  106. 'farodevigo.es',
  107. 'finanzas.com',
  108. 'fmdos.cl',
  109. 'fundacaosantillana.com',
  110. 'fundacaosantillana.com.br',
  111. 'fundacaosantillana.org.co',
  112. 'gaceta.es',
  113. 'galiciae.com',
  114. 'globaliza.com',
  115. 'grada360.com',
  116. 'gruposantillanapr.com',
  117. 'granadahoy.com',
  118. 'heraldodesoria.es',
  119. 'heraldo.es',
  120. 'hjck.com',
  121. 'hoy.es',
  122. 'hoycinema.es',
  123. 'hoymotor.es',
  124. 'huelvainformacion.es',
  125. 'huffingtonpost.es',
  126. 'iarc.cl',
  127. 'iol.pt',
  128. 'ign.com',
  129. 'ideal.es',
  130. 'infoempleo.es',
  131. 'intereconomia.com',
  132. 'inverycrea.net',
  133. 'kebuena.com.mx',
  134. 'lavallenata.com',
  135. 'lagacetadesalamanca.es',
  136. 'laguiatv.com',
  137. 'lalistawip.com',
  138. 'laopinioncoruna.es',
  139. 'laopiniondemalaga.es',
  140. 'laopiniondemurcia.es',
  141. 'laopiniondezamora.es',
  142. 'laopinion.es',
  143. 'laprovincia.es',
  144. 'larazon.es',
  145. 'larioja.com',
  146. 'lasprovincias.es',
  147. 'latribunadealbacete.es',
  148. 'latribunadeciudadreal.es',
  149. 'latribunadetalavera.es',
  150. 'latribunadetoledo.es',
  151. 'lavanguardia.com',
  152. 'laverdad.es',
  153. 'lavozdealmeria.es',
  154. 'lavozdegalicia.es',
  155. 'lavozdigital.es',
  156. 'lasapuestasdeas.com',
  157. 'levante-emv.com',
  158. 'librosaguilarl.com',
  159. 'librosalfaguarainfantil.com',
  160. 'librosalfaguarajuvenil.com',
  161. 'lne.es',
  162. 'los40.cl',
  163. 'los40.com',
  164. 'los40.com.co',
  165. 'los40.com.cr',
  166. 'los40.com.ec',
  167. 'los40.com.gt',
  168. 'los40.com.mx',
  169. 'los40.com.pa',
  170. 'los40principales.com.ar',
  171. 'm80radio.com',
  172. 'majorcadailybulletin.es',
  173. 'malagahoy.es',
  174. 'marca.com',
  175. 'marcamotoranuncios.com',
  176. 'marcamotor.com',
  177. 'maxima.fm',
  178. 'mediacapital.pt',
  179. 'menorca.info',
  180. 'meristation.com',
  181. 'motormercado.com',
  182. 'mundodeportivo.com',
  183. 'mujerhoy.com',
  184. 'noticiasdealava.com',
  185. 'noticiasdegipuzkoa.com',
  186. 'noticiasdenavarra.com',
  187. 'objetiva.com.br',
  188. 'objetiva.pt',
  189. 'onstage.es',
  190. 'orbyt.tv',
  191. 'oxigeno.fm',
  192. 'pisos.com',
  193. 'planetevents.es',
  194. 'pluralent.com',
  195. 'pluralportugal.pt',
  196. 'plus.es',
  197. 'premiovivalectura.org.ar',
  198. 'premiovivaleitura.org.br',
  199. 'prisadigital.com',
  200. 'prisaediciones.com',
  201. 'prisalabs.com',
  202. 'prisanoticias.com',
  203. 'prisaradio.com',
  204. 'prisarevistas.com',
  205. 'prisatv.com',
  206. 'pudahuel.cl',
  207. 'puntodelectura.com',
  208. # 'que.es',
  209. 'radioacktiva.cl',
  210. 'radioacktiva.com',
  211. 'radiocomercial.com',
  212. 'radioimagina.cl',
  213. 'radiole.com',
  214. 'radiounochile.cl',
  215. 'regio7.cat',
  216. 'richmondelt.com',
  217. 'rlm.es',
  218. 'rockandpop.cl',
  219. 'rollingstone.es',
  220. 'santillana.cl',
  221. 'santillana.com.ar',
  222. 'santillana.com.bo',
  223. 'santillana.com.br',
  224. 'santillana.com.co',
  225. 'santillana.com.do',
  226. 'santillana.com.ec',
  227. 'santillana.com.gt',
  228. 'santillana.com.hn',
  229. 'santillana.com.mx',
  230. 'santillana.com.pe',
  231. 'santillana.com.py',
  232. 'santillana.com.sv',
  233. 'santillana.com.uy',
  234. 'santillana.com.ve',
  235. 'santillana.com',
  236. 'santillana.cr',
  237. 'santillana.pt',
  238. 'santillanafrancais.com',
  239. 'santillanausa.com',
  240. 'seminariodenarrativayperiodismo.com',
  241. 'sistemauno.com',
  242. 'sport.es',
  243. 'sumadeletras.es',
  244. 'superdeporte.es',
  245. 'tareasymas.es',
  246. 'telva.com',
  247. 'tiramillas.net',
  248. 'tropicanafm.com',
  249. 'ultimahora.es',
  250. 'unidadeditorial.es',
  251. 'vadejuegos.com',
  252. 'vodafone.fm',
  253. 'vmetv.com',
  254. 'wradio.com.co',
  255. 'wradio.com.mx',
  256. 'wradio690.com',
  257. 'abecedesevilla.com',
  258. */
  259.  
  260. $(function () {
  261.  
  262. //¿Habría que crear las expresiones regulares a partir de la lista de dominios, en vez de hardcodearlas?
  263. //Sería más cómodo añadir y eliminar dominios, así como modificar la expresión regular, y no aumentaría practicamente en nada el timpo de carga...
  264. var aede = [
  265. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)11870\.com(\/|$)/,
  266. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)11824\.es(\/|$)/,
  267. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)abc\.es(\/|$)/,
  268. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)abcdesevilla\.es(\/|$)/,
  269. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)adn\.fm(\/|$)/,
  270. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)adnradio\.cl(\/|$)/,
  271. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)aede\.es(\/|$)/,
  272. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)alfaguara\.com(\/|$)/,
  273. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)as\.com(\/|$)/,
  274. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)autocasion\.com(\/|$)/,
  275. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)avanzaentucarrera\.com(\/|$)/,
  276. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)besame\.fm(\/|$)/,
  277. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)besame\.co\.cr(\/|$)/,
  278. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)besame\.com\.mx(\/|$)/,
  279. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)cadenadial\.com(\/|$)/,
  280. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)cadenaser\.com(\/|$)/,
  281. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)canalplus\.es(\/|$)/,
  282. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)canarias7\.es(\/|$)/,
  283. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)caracol\.com\.co(\/|$)/,
  284. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)caracol1260\.com(\/|$)/,
  285. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)castellolopesmultimedia\.com(\/|$)/,
  286. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)cincodias\.com(\/|$)/,
  287. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)cinemania\.es(\/|$)/,
  288. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)clix\.pt(\/|$)/,
  289. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)colorincolorradio\.com(\/|$)/,
  290. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)concierto\.cl(\/|$)/,
  291. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)continental\.com\.ar(\/|$)/,
  292. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)corazon\.cl(\/|$)/,
  293. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)correofarmaceutico\.com(\/|$)/,
  294. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)dalealplay\.com(\/|$)/,
  295. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)dbalears\.cat(\/|$)/,
  296. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)deia\.com(\/|$)/,
  297. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diaridegirona\.cat(\/|$)/,
  298. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diaridetarragona\.com(\/|$)/,
  299. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diarideterrassa\.es(\/|$)/,
  300. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariocordoba\.com(\/|$)/,
  301. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariodeavila\.es(\/|$)/,
  302. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariodeavisos\.com(\/|$)/,
  303. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariodeburgos\.es(\/|$)/,
  304. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariodecadiz\.es(\/|$)/,
  305. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariodeibiza\.es(\/|$)/,
  306. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariodejerez\.es(\/|$)/,
  307. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariodelaltoaragon\.es(\/|$)/,
  308. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariodeleon\.es(\/|$)/,
  309. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariodemallorca\.es(\/|$)/,
  310. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariodenavarra\.es(\/|$)/,
  311. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariodenoticias\.org(\/|$)/,
  312. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariodesevilla\.es(\/|$)/,
  313. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diarioinformacion\.com(\/|$)/,
  314. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariojaen\.es(\/|$)/,
  315. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariomedico\.com(\/|$)/,
  316. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariopalentino\.es(\/|$)/,
  317. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariosur\.es(\/|$)/,
  318. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)diariovasco\.com(\/|$)/,
  319. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)dmedicina\.com(\/|$)/,
  320. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)editorialaurus\.com(\/|$)/,
  321. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)eladelantado\.com(\/|$)/,
  322. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elalmeria\.es(\/|$)/,
  323. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elboomeran\.com(\/|$)/,
  324. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elcomercio\.es(\/|$)/,
  325. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elcorreoweb\.es(\/|$)/,
  326. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elcorreo\.com(\/|$)/,
  327. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)eldiadecordoba\.es(\/|$)/,
  328. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)eldiariomontanes\.es(\/|$)/,
  329. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)eleconomista\.es(\/|$)/,
  330. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elmundo\.es(\/|$)/,
  331. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elnortedecastilla\.es(\/|$)/,
  332. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elmun\.do(\/|$)/,
  333. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elpais\.com(\/|$)/,
  334. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elpais\.es(\/|$)/,
  335. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elpaisaguilar\.es(\/|$)/,
  336. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elpaisclubdevinos\.es(\/|$)/,
  337. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elperiodicodearagon\.com(\/|$)/,
  338. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elperiodicoextremadura\.com(\/|$)/,
  339. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elperiodicomediterraneo\.com(\/|$)/,
  340. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elperiodico\.cat(\/|$)/,
  341. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elperiodico\.com(\/|$)/,
  342. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elpokerdeas\.com(\/|$)/,
  343. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)elprogreso\.es(\/|$)/,
  344. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)escolasdevalor\.com\.br(\/|$)/,
  345. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)escuelaunidadeditorial\.com\.br(\/|$)/,
  346. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)essayandscience\.com(\/|$)/,
  347. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)europasur\.es(\/|$)/,
  348. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)expansion\.com(\/|$)/,
  349. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)expansionyempleo\.com(\/|$)/,
  350. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)farodevigo\.es(\/|$)/,
  351. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)finanzas\.com(\/|$)/,
  352. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)fmdos\.cl(\/|$)/,
  353. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)fundacaosantillana\.com(\/|$)/,
  354. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)fundacaosantillana\.com\.br(\/|$)/,
  355. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)fundacaosantillana\.org\.co(\/|$)/,
  356. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)gaceta\.es(\/|$)/,
  357. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)galiciae\.com(\/|$)/,
  358. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)globaliza\.com(\/|$)/,
  359. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)grada360\.com(\/|$)/,
  360. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)gruposantillanapr\.com(\/|$)/,
  361. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)granadahoy\.com(\/|$)/,
  362. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)heraldodesoria\.es(\/|$)/,
  363. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)heraldo\.es(\/|$)/,
  364. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)hjck\.com(\/|$)/,
  365. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)hoy\.es(\/|$)/,
  366. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)hoycinema\.es(\/|$)/,
  367. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)hoymotor\.es(\/|$)/,
  368. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)huelvainformacion\.es(\/|$)/,
  369. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)huffingtonpost\.es(\/|$)/,
  370. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)iarc\.cl(\/|$)/,
  371. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)iol\.pt(\/|$)/,
  372. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)ign\.com(\/|$)/,
  373. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)ideal\.es(\/|$)/,
  374. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)infoempleo\.es(\/|$)/,
  375. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)intereconomia\.com(\/|$)/,
  376. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)inverycrea\.net(\/|$)/,
  377. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)kebuena\.com\.mx(\/|$)/,
  378. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)lavallenata\.com(\/|$)/,
  379. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)lagacetadesalamanca\.es(\/|$)/,
  380. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)laguiatv\.com(\/|$)/,
  381. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)lalistawip\.com(\/|$)/,
  382. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)laopinioncoruna\.es(\/|$)/,
  383. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)laopiniondemalaga\.es(\/|$)/,
  384. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)laopiniondemurcia\.es(\/|$)/,
  385. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)laopiniondezamora\.es(\/|$)/,
  386. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)laopinion\.es(\/|$)/,
  387. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)laprovincia\.es(\/|$)/,
  388. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)larazon\.es(\/|$)/,
  389. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)larioja\.com(\/|$)/,
  390. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)lasprovincias\.es(\/|$)/,
  391. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)latribunadealbacete\.es(\/|$)/,
  392. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)latribunadeciudadreal\.es(\/|$)/,
  393. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)latribunadetalavera\.es(\/|$)/,
  394. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)latribunadetoledo\.es(\/|$)/,
  395. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)lavanguardia\.com(\/|$)/,
  396. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)laverdad\.es(\/|$)/,
  397. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)lavozdealmeria\.es(\/|$)/,
  398. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)lavozdegalicia\.es(\/|$)/,
  399. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)lavozdigital\.es(\/|$)/,
  400. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)lasapuestasdeas\.com(\/|$)/,
  401. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)levante-emv\.com(\/|$)/,
  402. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)librosaguilarl\.com(\/|$)/,
  403. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)librosalfaguarainfantil\.com(\/|$)/,
  404. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)librosalfaguarajuvenil\.com(\/|$)/,
  405. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)lne\.es(\/|$)/,
  406. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)los40\.cl(\/|$)/,
  407. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)los40\.com(\/|$)/,
  408. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)los40\.com\.co(\/|$)/,
  409. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)los40\.com\.cr(\/|$)/,
  410. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)los40\.com\.ec(\/|$)/,
  411. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)los40\.com\.gt(\/|$)/,
  412. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)los40\.com\.mx(\/|$)/,
  413. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)los40\.com\.pa(\/|$)/,
  414. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)los40principales\.com\.ar(\/|$)/,
  415. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)m80radio\.com(\/|$)/,
  416. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)majorcadailybulletin\.es(\/|$)/,
  417. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)malagahoy\.es(\/|$)/,
  418. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)marca\.com(\/|$)/,
  419. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)marcamotoranuncios\.com(\/|$)/,
  420. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)marcamotor\.com(\/|$)/,
  421. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)maxima\.fm(\/|$)/,
  422. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)mediacapital\.pt(\/|$)/,
  423. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)menorca\.info(\/|$)/,
  424. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)meristation\.com(\/|$)/,
  425. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)motormercado\.com(\/|$)/,
  426. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)mundodeportivo\.com(\/|$)/,
  427. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)mujerhoy\.com(\/|$)/,
  428. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)noticiasdealava\.com(\/|$)/,
  429. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)noticiasdegipuzkoa\.com(\/|$)/,
  430. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)noticiasdenavarra\.com(\/|$)/,
  431. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)objetiva\.com\.br(\/|$)/,
  432. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)objetiva\.pt(\/|$)/,
  433. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)onstage\.es(\/|$)/,
  434. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)orbyt\.tv(\/|$)/,
  435. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)oxigeno\.fm(\/|$)/,
  436. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)pisos\.com(\/|$)/,
  437. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)planetevents\.es(\/|$)/,
  438. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)pluralent\.com(\/|$)/,
  439. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)pluralportugal\.pt(\/|$)/,
  440. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)plus\.es(\/|$)/,
  441. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)premiovivalectura\.org\.ar(\/|$)/,
  442. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)premiovivaleitura\.org\.br(\/|$)/,
  443. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)prisadigital\.com(\/|$)/,
  444. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)prisaediciones\.com(\/|$)/,
  445. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)prisalabs\.com(\/|$)/,
  446. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)prisanoticias\.com(\/|$)/,
  447. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)prisaradio\.com(\/|$)/,
  448. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)prisarevistas\.com(\/|$)/,
  449. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)prisatv\.com(\/|$)/,
  450. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)pudahuel\.cl(\/|$)/,
  451. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)puntodelectura\.com(\/|$)/,
  452. // /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)que\.es(\/|$)/,
  453. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)radioacktiva\.cl(\/|$)/,
  454. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)radioacktiva\.com(\/|$)/,
  455. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)radiocomercial\.com(\/|$)/,
  456. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)radioimagina\.cl(\/|$)/,
  457. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)radiole\.com(\/|$)/,
  458. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)radiounochile\.cl(\/|$)/,
  459. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)regio7\.cat(\/|$)/,
  460. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)richmondelt\.com(\/|$)/,
  461. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)rlm\.es(\/|$)/,
  462. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)rockandpop\.cl(\/|$)/,
  463. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)rollingstone\.es(\/|$)/,
  464. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.cl(\/|$)/,
  465. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.com\.ar(\/|$)/,
  466. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.com\.bo(\/|$)/,
  467. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.com\.br(\/|$)/,
  468. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.com\.co(\/|$)/,
  469. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.com\.do(\/|$)/,
  470. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.com\.ec(\/|$)/,
  471. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.com\.gt(\/|$)/,
  472. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.com\.hn(\/|$)/,
  473. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.com\.mx(\/|$)/,
  474. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.com\.pe(\/|$)/,
  475. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.com\.py(\/|$)/,
  476. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.com\.sv(\/|$)/,
  477. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.com\.uy(\/|$)/,
  478. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.com\.ve(\/|$)/,
  479. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.com(\/|$)/,
  480. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.cr(\/|$)/,
  481. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillana\.pt(\/|$)/,
  482. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillanafrancais\.com(\/|$)/,
  483. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)santillanausa\.com(\/|$)/,
  484. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)seminariodenarrativayperiodismo\.com(\/|$)/,
  485. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)sistemauno\.com(\/|$)/,
  486. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)sport\.es(\/|$)/,
  487. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)sumadeletras\.es(\/|$)/,
  488. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)superdeporte\.es(\/|$)/,
  489. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)tareasymas\.es(\/|$)/,
  490. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)telva\.com(\/|$)/,
  491. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)tiramillas\.net(\/|$)/,
  492. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)tropicanafm\.com(\/|$)/,
  493. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)ultimahora\.es(\/|$)/,
  494. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)unidadeditorial\.es(\/|$)/,
  495. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)vadejuegos\.com(\/|$)/,
  496. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)vodafone\.fm(\/|$)/,
  497. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)vmetv\.com(\/|$)/,
  498. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)wradio\.com\.co(\/|$)/,
  499. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)wradio\.com\.mx(\/|$)/,
  500. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)wradio690\.com(\/|$)/,
  501. /(^|(^[^\/]*\.)|(^http(s?):\/\/)|(^http(s?):\/\/)[^\/]*\.)abecedesevilla\.com(\/|$)/,
  502. ],
  503. defaults_general = {
  504. background: '#ffe9e9',
  505. background_gradient: '#ffe9e9',
  506. background_radius: '5',
  507. tooltip_background: '#d04544',
  508. tooltip_text: '#fff',
  509. },
  510. defaults_modules = {
  511. meneame: true,
  512. twitter: true,
  513. facebook: true,
  514. google: false,
  515. others: true,
  516. },
  517. labels = {
  518. background: 'Color de fondo (empieza por)',
  519. background_gradient: 'Color de fondo (termina en)',
  520. background_radius: 'Redondear los cantos (píxels)',
  521. tooltip_background: 'Color de fondo del tooltip',
  522. tooltip_text: 'Color del texto del tooltip',
  523. meneame: 'Menéame',
  524. twitter: 'Twitter',
  525. facebook: 'Facebook',
  526. google: 'Google (sólo funciona en google.es, se tiene que solucionar)',
  527. others: 'Todas las páginas',
  528. },
  529. general_types = {
  530. background: 'color',
  531. background_gradient: 'color',
  532. background_radius: 'number',
  533. tooltip_background: 'color',
  534. tooltip_text: 'color',
  535. },
  536. firstime = true,
  537. tooltip = false,
  538.  
  539. meneame = function () {
  540. // Menéame
  541. $('span.showmytitle').not('.aede-on').each(function (i) {
  542. var title = this.title,
  543. element = $(this).parents('.news-body');
  544. preCheckAEDE(element, title, i);
  545. $(this).addClass('aede-on');
  546. });
  547. if(firstime){
  548. $('input#url').bind('input', function () {
  549. var that = $(this);
  550. if(isAEDE(that.val())){
  551. that.css('border', '2px solid red');
  552. }else{
  553. that.css('border', '1px solid #ddd');
  554. }
  555. });
  556. firstime=false;
  557. }
  558. $('.comment-body>a').each(function(i){
  559. var title = $(this).attr('href'),
  560. element = $(this).parent();
  561. preCheckAEDE(element, title, i);
  562. });
  563.  
  564. },
  565. twitter = function () {
  566. // Twitter by @Hanxxs http://pastebin.com/f04tPcsG
  567. $('a.twitter-timeline-link').not('.aede-on').each(function (i) {
  568. var title = this.title,
  569. element = $(this).parents('.stream-item');
  570. preCheckAEDE(element, title, i);
  571. $(this).addClass('aede-on');
  572. });
  573. },
  574. facebook = function () {
  575. // Facebook by @paucapo
  576. $('div.fsm').not('.aede-on').each(function (i) {
  577. var title = $(this).text(),
  578. element = $(this).parents('a.shareLink');
  579. preCheckAEDE(element, title, i, {
  580. border: '3px solid ' + GM_getValue('background')
  581. });
  582. $(this).addClass('aede-on');
  583. });
  584. $('.userContent a').not('.aede-on').each(function (i) {
  585. var title = $(this).text(),
  586. element = $(this);
  587. preCheckAEDE(element, title, i, {
  588. border: '3px solid ' + GM_getValue('background')
  589. });
  590. $(this).addClass('aede-on');
  591. });
  592. $('div.userContentWrapper div.fcg').not('.aede-on').each(function (i) {
  593. var title = $(this).text(),
  594. element = $(this).parents('div.mvm');
  595. preCheckAEDE(element, title, i, {
  596. display: 'block',
  597. });
  598. $(this).addClass('aede-on');
  599. });
  600. $('div.storyInnerWrapper span.caption').not('.aede-on').each(function (i) {
  601. var title = $(this).text(),
  602. element = $(this).parents('div.shareRedesignContainer');
  603. preCheckAEDE(element, title, i);
  604. $(this).addClass('aede-on');
  605. });
  606. },
  607. google = function () {
  608. // Google by @paucapo
  609. $('a').not('.aede-on').each(function (i) {
  610. var title = $(this).attr('href'),
  611. element = $(this).parents('li.g');
  612. preCheckAEDE(element, title, i);
  613. $(this).addClass('aede-on');
  614. });
  615. },
  616. others = function () {
  617. // Others by @paucapo
  618. $('a').not('.aede-on').each(function (i) {
  619. var title = $(this).attr('href') + ' ' + $(this).text(),
  620. element = $(this);
  621. preCheckAEDE(element, title, i);
  622. $(this).addClass('aede-on');
  623. });
  624. },
  625.  
  626. checkForAEDELinks = function () {
  627.  
  628. switch(domain()){
  629. case 'meneame.net':
  630. GM_getValue('meneame') && meneame();
  631. break;
  632. case 'twitter.com':
  633. GM_getValue('twitter') && twitter();
  634. break;
  635. case 'facebook.com':
  636. GM_getValue('facebook') && facebook();
  637. break;
  638. case 'imgur.com':
  639. break;
  640. default:
  641. GM_getValue('others') && others();
  642. break;
  643. }
  644. },
  645. preCheckAEDE = function (element, url, i, extraCss) {
  646. if(url === undefined){
  647. return;
  648. }
  649. setTimeout(function () {
  650. checkAEDE(element, url, extraCss);
  651. }, i * 20);
  652. },
  653. checkAEDE = function (element, link, extraCss) {
  654. css = {
  655. 'background-color': GM_getValue('background'),
  656. 'background-image': 'linear-gradient(0deg, '+GM_getValue('background_gradient')+','+GM_getValue('background')+')',
  657. 'border-radius': GM_getValue('background_radius')+'px',
  658. };
  659. if (typeof extraCss != 'undefined') {
  660. $.extend(css, extraCss);
  661. }
  662. if (isAEDE(link)) {
  663. element
  664. .css(css)
  665. .on('mouseenter', showTooltip).on('mouseleave', hideTooltip);
  666. }
  667. },
  668. showTooltip = function () {
  669. tooltip = $('<span id="aede-tooltip" style="position: absolute;background:' + GM_getValue('tooltip_background') + ';color:' + GM_getValue('tooltip_text') + ';padding:5px;border-radius:4px;z-index:100000">AEDE alert!</span>'),
  670. $('body').append(tooltip);
  671. },
  672. hideTooltip = function () {
  673. tooltip.remove();
  674. tooltip = false;
  675. },
  676. domain = function () {
  677. var parts = document.domain.split('.');
  678. return parts.slice(-2).join('.');
  679. },
  680. isAEDE = function (link) {
  681. var is = false;
  682. $.each(aede, function (i, a) {
  683. if(a.test(link)){
  684. is=true;
  685. return false;
  686. }
  687. });
  688. return is;
  689. },
  690.  
  691. aedeConfig = function () {
  692. $('#aede_config').remove();
  693.  
  694. var config = '<div id="aede_config">';
  695. config += '<h1>Configuración</h1>';
  696.  
  697. config += '<h2>General</h2>';
  698. $.each(defaults_general, function (key, value) {
  699. config += '<p><label for="aede_' + key + '">' + labels[key] + ':</label> <input type="text" id="aede_' + key + '" value="' + GM_getValue(key) + '" class="'+general_types[key]+'"></p>';
  700. });
  701.  
  702. config += '<h2>Módulos</h2>';
  703. config += '<ul>';
  704. $.each(defaults_modules, function (key, value) {
  705. config += '<li><input type="checkbox" id="aede_' + key + '" ' + (GM_getValue(key) === true ? 'checked' : '') + '> <label for="aede_' + key + '">' + labels[key] + '</label></li>';
  706. });
  707. config += '</ul>';
  708.  
  709. config += '<p><input type="button" id="aede_save" value="Guardar"> <input type="button" id="aede_reset" value="Reset"></p>';
  710.  
  711. config += '<style type="text/css">#aede_config{border:1px solid #eee;padding:0 20px;background:#f9f9f9;}#aede_config p label{width:50%;display:block;float:left;}#aede_config ul{list-style:none;}</style>';
  712.  
  713. config += '</div>';
  714.  
  715.  
  716.  
  717. $('#main_content').append(config);
  718.  
  719. $('input.color').each( function() {
  720. $(this).minicolors({
  721. control: 'hue',
  722. defaultValue: '',
  723. inline: false,
  724. letterCase: 'lowercase',
  725. opacity: false,
  726. position: 'bottom left',
  727. theme: 'default'
  728. });
  729. });
  730.  
  731.  
  732. $('#aede_reset').on('click', function () {
  733. resetConfig();
  734. aedeConfig();
  735. resultConfig('¡Configuración a valores por defecto!');
  736. });
  737. $('#aede_save').on('click', function () {
  738. $.each(defaults_general, function (key, value) {
  739. GM_setValue(key, $('#aede_' + key).val());
  740. });
  741. $.each(defaults_modules, function (key, value) {
  742. GM_setValue(key, $('#aede_' + key).is(':checked'));
  743. });
  744. resultConfig('¡Configuración guardada!');
  745. });
  746. },
  747. resultConfig = function(result) {
  748. $('#aede_result').remove();
  749. $('#main_content').append('<p id="aede_result">'+result+'</p>');
  750. },
  751. resetConfig = function () {
  752. $.each(defaults_general, function (key, value) {
  753. GM_setValue(key, value);
  754. });
  755. $.each(defaults_modules, function (key, value) {
  756. GM_setValue(key, value);
  757. });
  758. },
  759. checkConfig = function () {
  760. $.each(defaults_general, function (key, value) {
  761. if (typeof GM_getValue(key) == 'undefined') {
  762. GM_setValue(key, value);
  763. }
  764. });
  765. $.each(defaults_modules, function (key, value) {
  766. if (typeof GM_getValue(key) == 'undefined')
  767. GM_setValue(key, value);
  768. });
  769. };
  770.  
  771. checkForAEDELinks();
  772. setInterval(checkForAEDELinks, 2000);
  773.  
  774. checkConfig();
  775.  
  776. if (document.location.href == 'http://pykiss.github.io/anti-AEDE/') {
  777. aedeConfig();
  778. }
  779.  
  780. $(document).mousemove(function (event) {
  781. if (tooltip){
  782. tooltip.css('top', (event.pageY + 10) + 'px').css('left', (event.pageX + 10) + 'px');
  783. }
  784. });
  785.  
  786.  
  787.  
  788. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement