Immediate Redirection

Go down

Immediate Redirection

Post by Hudson on Mon Aug 08, 2016 1:06 am

This script will immediately redirect you after submitting a message and or sending a private message.

-Installing it-

To install this script go to Admin Panel > Modules > JavaScript codes management. Make sure JavaScript codes management is enabled, and then create a new script with the following settings:

Title: Immediate redirection
Placement: In all the pages
(function() {
  for (var meta = document.getElementsByTagName('META'), i = 0, j = meta.length; i < j; i++) {
    if (meta[i].httpEquiv && /refresh/i.test(meta[i].httpEquiv)) {
      window.location.href = meta[i].content.replace(/^.*;url=/, '');

Save the script, and you should now be quickly redirected back to threads after making a post, your inbox after sending a PM, etc.. Cool


Posts : 13
Join date : 2016-07-26

View user profile

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum