Hide iframe code html2/5/2024 ![]() ![]() ![]() Means if 100 users access the url at the same time each link has to expire for this one user only and not for the one that accesses the iframe in parallel. This is needed as URLs should only work once. The hash is build from the url, iframe id, time, ip and a random number. To both a hash to find the real url with aiUrl= is added. By using db your main WordPress URL is used. If you use file then a iframe.php in the plugin folder is used. This settings also defines the way the url looks like. Expired transients are cleaned every 24h since WordPress 4.9. This solution is very stable, but is also slow (~0.5s) as this is done through WordPress. 0|db the URLs are temporary stored in the WordPress database as transients. The plugin uses file locking for all write operations so many parallel users can slow down the writing.īy defining |db after the time e.g. This is very fast (~10-20 ms) but concurrent access to the file can cause issues because of parallel access. By default the file advanced-iframe-custom/iframe-data.csv is used to store the URLs. ![]() The plugin does support 2 ways to store the URLs: Database or file. by adding custom Javascript files with “Add/Include” files. If you like to disable it in general or for different features as well addĭocument.oncontextmenu = function() Į.g. For external domains you need to have the external workaround enabled to disable the right click. It is only disabled over the iframe itself because there you can see the real URL with “Show iframe source”. Please note: This does not disable the right click on the page in general because this is quite user unfriendly as this menu has lot of useful things! The normal right click that shows the html source includes the obfuscated URLs. The disabling is supported for the same domain and also the external workaround. To make the detection of the real URL a little bit harder, right click is disabled in/over the iframe if you enable this feature. Please note that users can still use the network tab to find the URL which is really loaded or by using the “view iframe source code” function of the browser! Right click handling If a user looks at the source code or uses a developer tool to inspect the code he will only see the link to the intermediate page. This feature can hide the real URL by using a page that gets the parameter aiUrl with a hash which redirects to the real URL. The browser needs the URL of the iframe to load the content of the iframe. You are on HTTPS right now Please click here to get to the HTTP version. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |