ohryan.ca

A Web Developer in Winnipeg

  • privacy
  • WhyFireFoxIsBlocked is wrong! Adblock Plus is 100% Detectable!

    August 20, 2007
    in Tips & How To’s, Websites

    whyfirefoxisblocked.com does not know what they’re talking about. Ad Block Plus is 100% lame and 100% detectable.

    The following code detects ad block plus:

    index.html:
    <script language="javascript"> var disabled = false; </script>
    <script src="something.js?thisistotrickyou=http://a.as-us.falkag.net/...
    dat/njf/41/domain.com/ros_pop_tag.js"></script>
    <script language="javascript">
    if(!disabled){
    // DO SOMETHING HERE, like a redirect
    alert("You Are Using Ad Block Plus or some other blocking software! Please don\'t, our site operates on ad revenue."); }
    </script>

    something.js:
    disabled = true;

    Proof of concept


  • This is why webprogramming sucks…

    August 15, 2007
    in Web Development

    Run-time languages don’t have compilers.


  • Adding Linebreaks in Open Office Calc

    August 12, 2007
    in Tips & How To’s

    To add a linebreak to open office’s version of excel – calc, use ctrl+enter.
    Not alt+enter like in Excel or shift+enter like many web-based editors.


←Previous Page Next Page→

Hi.

Hello, my name is Ryan! I’m a web developer in Winnipeg, Canada. I’ve been documenting my random thoughts and occasional bits of interesting code here since 2005. Twitter. Github. Instagram. Mastodon.

Recent Posts

  • On directories. And vibe coding.July 16, 2025
  • How AI Stole My JobJune 30, 2025
  • Buy Canadian VegansApril 30, 2025
  • What is a “Note”?April 28, 2025
  • PortlandDecember 20, 2024
  • Thom Bargen, TuxedoDecember 10, 2024

Designed with WordPress