2017-04-13 56 views
0

我有2個I幀,我試圖從iframe中的內容複製到另一個iframe和防止網絡使用再次下載相同的內容。複製iframe中的內容,而不jQuery的另一個IFRAME,防止網絡使用

所以it's的angular2代碼:

<div *ngFor="let url of urls; let i=index"> 

    <iframe [src]={{url}}></iframe> 

    <div class="modal-iframe"> 
       <iframe [src]={{url}}></iframe> 
    </div> 
</div> 

的第二iFrame是縮略圖,我可以複製內容,而jQuery的?

回答

-1

你永遠無法真正禁止使用者下載你的圖片,一旦他們轉移到自己的瀏覽器,特別是不只是把他們一個iframe中 - 我會建議你以某種水印的工作一樣存在Shutterstock做,只是它們顯示爲普通圖像:)