<reponame>Darkblader24/material-combiner-addon<gh_stars>100-1000
import webbrowser

import bpy
from bpy.props import *


class OpenBrowser(bpy.types.Operator):
    bl_idname = 'smc.browser'
    bl_label = 'Open Browser'
    bl_description = 'Click to open in browser'

    link = StringProperty(default='')

    def execute(self, context):
        webbrowser.open(self.link)
        self.report({'INFO'}, 'Browser opened')
        return {'FINISHED'}

import webbrowser

import bpy
from bpy.props import *


class OpenBrowser(bpy.types.Operator):
    bl_idname = 'smc.browser'
    bl_label = 'Open Browser'
    bl_description = 'Click to open in browser'

    link = StringProperty(default='')

    def execute(self, context):
        webbrowser.open(self.link)
        self.report({'INFO'}, 'Browser opened')
        return {'FINISHED'}