mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
9 lines
270 B
HTML
9 lines
270 B
HTML
<script>
|
|
var url = document.location.href;
|
|
var imageUrl = url.replace(/[/][^/]*$/, "/mozilla-16.png");
|
|
var viewSourceImageUrl = "view-source:" + imageUrl;
|
|
var html = "<iframe src='#url#'>".replace(/#url#/, viewSourceImageUrl);
|
|
document.write(html);
|
|
</script>
|
|
|