Forum Moderators: open

reverse() -- ColdFusion(or your language)/SQL + JavaScript

Antiscrape Trick - What is stopping me from doing it this way?

         

blend27

9:46 pm on May 10, 2026 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



So all the sites that I code are database driven Apps. Be is a Custom CSM or an ECom/Shop or both..

For ECom scrapers are usually after content/product descriptions for the products and pages that rank, and I get a lot of them. Now that we throw AI Scrapers into a mix most sites get more traffic from Scrapers that simply overwhelm regular traffic 3 to 1. And those Residential Proxies are out of control at this point

What of the description that is pulled from DB first put thru a reverse function, CF of SQL then sent to a browser and displayed on the page.



Then using JS/JQuery to reverse it back to a normal state?
<cfscript>
originalString = "This is an example of a text message that we want to wrap. It is rather long and needs to be broken into shorter lines.";
newString = reverse(originalString );
writeOutput('<p id="pd'>'' & newString & '</p>');
</cfscript>
<p id="pdc"></p>


<script type="text/javascript">
function sce() {
var pdc = $('#pd').text();
$('#pdc').text(pdc.split('').reverse().join(''));
}
<script type="text/javascript">
function sce() {
var pdc = $('#pd').text();
$('#pdc').text(pdc.split('').reverse().join(''));
}
$(window).on('wheel', function(event) {
if (event.originalEvent.deltaY < 0) {
// Scrolled up
sce();
console.log('Scrolling up');
} else {
// Scrolled down
sce();
console.log('Scrolling down');
}
});
</script>


or "mousedown touchstar" event for mobiles...

$(window).on('mousedown touchstart', function(e) {
// Use e.originalEvent.touches[0] for mobile coordinates
var startX = e.pageX || e.originalEvent.touches[0].pageX;
if( startX ){
sce();
}

});




JS could even be hosted on a CDN Subdomain to make it even a bit more spicy!

Given that we know SEs IPs already, write a normal text to/for SE and do this bit of cloaking for the rest.

Scrapers will get ".senil retrohs otni nekorb eb ot sdeen dna gnol rehtar si tI .parw ot tnaw ew taht egassem txet a fo elpmaxe na si sihT".

Regular users who will Scroll/Slide.

Or is it considered Super Evil Cloaking?

lucy24

11:35 pm on May 10, 2026 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Or is it considered Super Evil Cloaking?
I don't see why it would be, so long as you make absolutely certain search engines see the same thing humans see. It would be pretty nervy of G###--or any other SE--to complain that evil nasty scrapers are receiving different content.

blend27

5:19 pm on May 11, 2026 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



-- search engines --
https://raw.githubusercontent.com/ipverse/bot-ip-blocks/refs/heads/master/crawlers.json
has at least that what I use(parsed into local object) and also APIs where the data is coming from...