Last questions on ask.SCRiPTMAFiA.ORG
Plugin ★ Url Shortener ★ Create Iframe of Long Url ★ Lock it or Call any Code
Category: Blog
- views: 1542
- date: 8 June 2011
- posted by: yda
This is a share of a Plugin I have coded to be used with Yourls.
Yourls is a URL Shortener script, which includes tracking. It is open-source, and free, and can be found by searching the big G.
It can be customised almost ad-nauseum, and there are already some cool plugins shared within the Yourls community.
I have made some mods myself, and will be sharing them here over the next few days, along with methods I'm currently using to make bank with this plugin.
The plugin itself, when edited and added to an installation of Yourls, will shorten links, but with a twist. It will dynamically generate a presentation of the destination page, within an iframe, and, at the same time, it will call/display/execute any script or code you wish.
Folks, I don't need to tell you all about the possible uses for this - locking content, offering a short url service with "temporarily disabled" code, which you later "enable", drive-by javascript execution, drive-by installs - this is suitable for EVERY IMer, regardless of whether you "lock", or you use other BH techniques, and that's just a few of the spins you can put on this.
So, on to the plugin itself, and how to use it:
You will need to install YOURLS on a short domain, then visit user/plugins and create a folder, give it any name you like.
Then, edit the "plugin.php" , to call your code, in the section marked "CALL YOUR SCRIPT OR CODE", and save it Then place the plugin.php in the folder you created above.
Yourls is a URL Shortener script, which includes tracking. It is open-source, and free, and can be found by searching the big G.
It can be customised almost ad-nauseum, and there are already some cool plugins shared within the Yourls community.
I have made some mods myself, and will be sharing them here over the next few days, along with methods I'm currently using to make bank with this plugin.
The plugin itself, when edited and added to an installation of Yourls, will shorten links, but with a twist. It will dynamically generate a presentation of the destination page, within an iframe, and, at the same time, it will call/display/execute any script or code you wish.
Folks, I don't need to tell you all about the possible uses for this - locking content, offering a short url service with "temporarily disabled" code, which you later "enable", drive-by javascript execution, drive-by installs - this is suitable for EVERY IMer, regardless of whether you "lock", or you use other BH techniques, and that's just a few of the spins you can put on this.
So, on to the plugin itself, and how to use it:
You will need to install YOURLS on a short domain, then visit user/plugins and create a folder, give it any name you like.
Then, edit the "plugin.php" , to call your code, in the section marked "CALL YOUR SCRIPT OR CODE", and save it Then place the plugin.php in the folder you created above.
Related news:
Information |
|||
![]() |
Members of GUESTS cannot leave comments. | ||

